×

Method and system to alleviate denial-of-service conditions on a server

  • US 7,386,848 B2
  • Filed: 10/02/2003
  • Issued: 06/10/2008
  • Est. Priority Date: 10/02/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for processing data in a multithreaded application in a data processing system, the method comprising:

  • placing work items into a data structure that is maintained in the data processing system, wherein the work items are pending processing by the multithreaded application;

    processing work items from the data structure by a plurality of threads within the multithreaded application in accordance with a first algorithm;

    processing work items from the data structure by a thread within the multithreaded application in accordance with a second algorithm that differs from the first algorithm, wherein the thread is configured distinctly from the plurality of threads; and

    restricting the processing of work items by the thread in accordance with a second set of parameters used to evaluate workflow conditions, wherein the step of restricting the processing of work items by the thread in accordance with a second set of parameters further comprises;

    evaluating workflow conditions of the plurality of threads for a characteristic of a workflow condition as controlled by the second set of parameters;

    in response to a determination of whether or not the workflow conditions of the plurality of threads has a characteristic indicated by the second set of parameters, processing or not processing work items by the thread, respectively;

    reevaluating workflow conditions of the plurality of threads for a characteristic of a workflow condition as controlled by the second set of parameters in response to processing a work item by the thread;

    in response to a determination of whether or not the workflow conditions of the plurality of threads has a characteristic indicated by the second set of parameters, processing or not processing work items by the thread, respectively; and

    adjusting one or more parameters in the second set of parameters in accordance with a third set of parameters used to regulate a time period associated with processing the work items by the thread in response to a determination that workflow conditions do not have a characteristic indicated by the second set of parameters.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×