×

Method for applying stochastic control optimization for messaging systems

  • US 7,792,038 B2
  • Filed: 05/06/2008
  • Issued: 09/07/2010
  • Est. Priority Date: 06/27/2006
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer implemented method for controlling when to send messages in a stream processing system, the computer implemented method comprising:

  • determining a policy utilizing probability statistics and a cost function, wherein the policy specifies a first set of conditions for sending a message immediately from an upstream transform in an upstream server device to a downstream transform in a downstream server device via a network link and a second set of conditions for suppressing sending the message from the upstream transform in the upstream server device to the downstream transform in the downstream server device via the network link;

    setting by the downstream transform in the downstream server device a threshold for upstream filtering of the messages sent from a plurality of upstream transforms in a plurality of upstream server devices to the downstream transform in the downstream server device based upon the policy;

    sending by the downstream transform in the downstream server device the threshold for the upstream filtering of the messages to the plurality of upstream transforms in the plurality of upstream server devices via the network link;

    filtering the messages by the plurality of upstream transforms in the plurality of upstream server devices during stream processing by selecting which of the messages to send from the plurality of upstream transforms based upon the threshold for the upstream filtering sent by the downstream transform in the downstream server device; and

    determining by the downstream transform in the downstream server device whether to change the threshold for the upstream filtering by the plurality of upstream transforms in the plurality of upstream server devices during the stream processing based on a current state of the downstream transform, wherein the current state is one of a plurality of states that include the threshold for the upstream filtering, a number of tuples currently available for the downstream transform, a penalty for having fewer than a predetermined number of tuples currently available for the downstream transform during a unit of time, and a number of time units during which the downstream transform has fewer than the predetermined number of tuples, and wherein the penalty is based upon the number of time units during which the downstream transform has fewer than the predetermined number of tuples.

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