×

System for workload balancing by resetting an average queue depth upon the start of the server instance

  • US 8,112,760 B2
  • Filed: 03/14/2008
  • Issued: 02/07/2012
  • Est. Priority Date: 05/28/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. An apparatus, having a processor, for workload balancing in an asynchronous messaging system comprising:

  • means for obtaining an average queue depth of a message queue;

    means for 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;

    means for determining if the average queue depth exceeds a first predetermined threshold of the one or more predetermined thresholds;

    means for initiating the start of a server instance for retrieving messages from the message queue by placing a trigger message on an initialisation queue in response to determining that the average queue depth exceeds the first predetermined threshold of the one or more predetermined thresholds, wherein the trigger message indicates that the server instance is to be started; and

    means for resetting the average queue depth to less than the first predetermined threshold immediately upon the start of the server instance in response to determining that the first predetermined threshold has been exceeded.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×