×

Stabilization tool for a high-capacity network infrastructure

  • US 8,856,376 B1
  • Filed: 12/18/2008
  • Issued: 10/07/2014
  • Est. Priority Date: 12/18/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for monitoring and regulating concurrent connections in a network, wherein the network comprises at least one server and a plurality of service provider systems, the method comprising:

  • receiving, by a processor, a transaction request from a data channel related to a service provider system;

    determining, by the processor, if the current connections with a server is greater than a maximum number of the current connections allowed for the server;

    incrementing, by the processor, a global active counter for the server reflecting that the transaction request is going to be processed when the current connections is less than the maximum number of the current connections for the server, and providing a resource unavailable notification when the current connections is greater than the maximum number of current connections;

    processing, by the processor, the transaction request by sending the transaction request to the service provider system;

    decrementing, by the processor, the global active counter for the server when the transaction request is processed;

    incrementing, by the processor, a global dormant counter for the server reflecting a response to the transaction request is pending;

    determining, by the processor, if the current connections with an adapter is greater than a maximum number of current connections allowed for the adapter, wherein the adapter is a combination of attributes that comprises at least the service provider;

    incrementing, by the processor, a dormant counter for the adapter when the current connections is less than the maximum number of the current connections for the adapter reflecting that a new concurrent connection is being created, and providing the resource unavailable notification when the current connections is greater than the maximum number of current connections;

    accessing, by the processor, the service provider system associated with the transaction request with a new connection including a thread, wherein the thread comprises a timeout value and controls the new connection to the service provider system;

    determining, by the processor, if a response is received from the service provider before the thread times out;

    decrementing, by the processor, the dormant counter for the adapter reflecting that the new connection has ended and decrementing the global dormant counter reflecting that the response to the transaction request is no longer pending when the response from the service provider is received before the thread is timed out reflecting that a current connection on the adapter has ended, and providing the resource unavailable notification when the thread times out before the response is received;

    incrementing, by the processor, the global active counter reflecting that the response is being processed;

    processing, by the processor, the response from the service provider system;

    returning, by the processor, the response from the service provider system to the data channel that initiated the transaction request; and

    decrementing, by the processor, the global active counter indicating that the transaction request is completed.

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