Patent ID: 7409688
Filing Date: 2008-08-05
Classification: G06F

Abstract:
1. A method for workload balancing in an asynchronous messaging system comprising: obtaining an average depth of a message queue; controlling a number of server instances of a server for retrieving messages from the message queue based on the average queue depth and one or more predetermined thresholds; determining if the average queue depth exceeds a first predetermined threshold of the one or more predetermined thresholds; responsive to determining that the average queue depth exceeds the first predetermined threshold, initiating the start of a server instance for retrieving messages from the message queue by placing a trigger message on an initialisation queue, wherein the trigger message indicates that the server instance is to be started; and responsive to determining that the first predetermined threshold has been exceeded, resetting the average queue depth to less than the first predetermined threshold immediately upon the start of the server instance.