Method and Apparatus for Handling Service Requests in a Data Processing System
AssigneeInternational Business Machines Corporation
InventorsJinmei Shen, Hao Wang
Life of this patent
Estimating the term…
Abstract
A method for handling service requests in a data processing system is disclosed. In response to a service request, a priority of the service request is determined by mapping a context of the service request to a service level agreement (SLA). SLA-aware and timeout-conscious and preemptive and replayable lock manager is designed to account for different operational goals and different importance to satisfy various SLAs. An average processing time of the service request is then calculated based on statistical results. The service request will be allowed to process if the determined average processing time meets historical guarantee situations.
Claims15
A method for handling service requests in a data processing system, said method comprising:
- in response to a service request, determining a priority of said service request by mapping a context of said service request to a service level agreement (SLA);
- in response to a lock being acquired by another service request and concurrent processing of said service request and said another service request is not allowed, determining whether or not an existing transaction associated with said another service request can be delayed based on average processing time of said service request and said another service request;
- in a determination that said another service request cannot be delayed, generating an alarm and continue processing said existing transaction;
- and
- in a determination that said another service request can be delayed, preempting said existing transaction, generating an alarm and processing a transaction associated with said service request.
A computer usable medium having a computer program product for handling service requests in a data processing system, said computer usable medium comprising:
- program code means for, in response to a service request, determining a priority of said service request by mapping a context of said service request to a service level agreement (SLA);
- program code means for, in response to a lock being acquired by another service request and concurrent processing of said service request and said another service request is not allowed, determining whether or not an existing transaction associated with said another service request can be delayed based on average processing time of said service request and said another service request;
- program code means for, in a determination that said another service request cannot be delayed, generating an alarm and continue processing said existing transaction;
- and
- program code means for, in a determination that said another service request can be delayed, preempting said existing transaction, generating an alarm and processing a transaction associated with said service request.
A data processing system for handling service requests, said data processing system comprising:
- means for, in response to a service request, determining a priority of said service request by mapping a context of said service request to a service level agreement (SLA);
- means for, in response to a lock being acquired by another service request and concurrent processing of said service request and said another service request is not allowed, determining whether or not an existing transaction associated with said another service request can be delayed based on average processing time of said service request and said another service request;
- means for, in a determination that said another service request cannot be delayed, generating an alarm and continue processing said existing transaction;
- and
- means for, in a determination that said another service request can be delayed, preempting said existing transaction, generating an alarm and processing a transaction associated with said service request.
Dependencies are inferred from the claim text.