摘要:
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.
摘要:
To connect a client application to a server ‘server’ on a cluster ‘cluster’ having a plurality of servers instantiated thereon, ‘cluster’ and ‘server’ are received from the client application, a first request message is sent to ‘cluster’ requesting first connection information for connecting to ‘server’, a first reply message containing the requested first connection information is received from ‘cluster’, and the client application is connected to ‘server’ on ‘cluster’ based on the received first connection information. Thereafter, the connection to ‘server’ fails, and a second request message is sent to ‘cluster’ requesting second connection information for connecting to ‘server’, a second reply message containing the requested second connection information is received from ‘cluster’, and the client application is again connected to ‘server’ on ‘cluster’ based on the received second connection information.