Use of metrics to control throttling and swapping in a message processing system
First Claim
Patent Images
1. A system comprising a processor and a memory communicatively coupled to the processor, the memory comprising instructions that, when executed by the processor, cause the system to:
- determine a workload of the system based on performance metrics of the system;
receive a message and, in response to receiving the message, create an instance of a process or route the message to an existing instance of a process;
idle the created instance or the existing instance based on the determined workload of the system;
determine a predicted duration for the idling based on the performance metrics;
based on the predicted duration, move the idled instance out of active memory and into secondary storage associated with the system; and
update the determined workload based on updated performance metrics and said moving the idled instance out of active memory.
0 Assignments
0 Petitions
Accused Products
Abstract
A system and method of using metrics to control throttling and swapping in a message processing system is provided. A workload status of a message processing system is determined, and the system polls for a new message according to the workload status. The message processing system identifies a blocked instance and calculates an expected idle time for the blocked instance. The system dehydrates the blocked instance if the expected idle time exceeds a predetermined threshold.
36 Citations
20 Claims
-
1. A system comprising a processor and a memory communicatively coupled to the processor, the memory comprising instructions that, when executed by the processor, cause the system to:
-
determine a workload of the system based on performance metrics of the system; receive a message and, in response to receiving the message, create an instance of a process or route the message to an existing instance of a process; idle the created instance or the existing instance based on the determined workload of the system; determine a predicted duration for the idling based on the performance metrics; based on the predicted duration, move the idled instance out of active memory and into secondary storage associated with the system; and update the determined workload based on updated performance metrics and said moving the idled instance out of active memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for improving the efficiency of a computing system, the method comprising:
-
determining, by the computing system, a workload state based on performance metrics of the computing system; in response to receiving a message by the computing system, performing one of creating an instance of a process or routing the message to an existing instance of a process; idling the created instance or the existing instance based on the determined workload state; predicting a duration of said idling based on the performance metrics; and moving the idled instance to secondary storage based on the predicted duration. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15)
-
-
16. A system comprising a processor and a memory communicatively coupled to the processor, the memory comprising instructions that, when executed by the processor, cause the system to:
-
determine a workload of the system with respect to a system operating parameter based at least in part on performance data for the system; identify a blocked instance being processed by the system; calculate an expected idle time for the blocked instance by; determining a length of time the blocked instance has been idle; and generating the expected idle time based on the performance data and the length of time the blocked instance has been idle; move the blocked instance to secondary storage if the expected idle time exceeds a threshold; update the workload based on moving the blocked instance; and update the threshold according to the updated workload. - View Dependent Claims (17, 18, 19, 20)
-
Specification