Stabilization tool for a high-capacity network infrastructure
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention are directed to a system and method to stabilize high-capacity network infrastructures by monitoring and regulating concurrent connections between a server and various service provider systems in a network. Based on the attributes of the concurrent connections, the connections are logically grouped to form adapters that represent particular combinations of connection attributes. The concurrent connections to an adapter are monitored and regulated to help identify failing components and to manage the load on the network through the use of autonomic computing to optimize network performance and automatically adapt to changing conditions. The regulation of the concurrent connections to an adapter includes the calculation and assignment of a timeout value to new connections to make certain that service provider system response times are low in terms of a success or failure to respond in a timely fashion.
-
Citations
26 Claims
-
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 Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product for monitoring and regulating concurrent connections in a network, wherein the network comprises at least one server and a plurality of service provider systems, wherein the computer program product comprises a non-transitory computer readable medium, wherein the non-transitory computer readable medium comprises computer executable program code that, when executed by a computer, causes the computer to:
-
receive a transaction request from a data channel related to a service provider system; determine if the current connections with a server is greater than a maximum number of the current connections allowed for the server; increment 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 provide a resource unavailable notification when the current connections is greater than the maximum number of current connections; process the transaction request by sending the transaction request to the service provider decrement the global active counter for the server when the transaction request is processed; increment a global dormant counter for the server reflecting a response to the transaction request is pending; determine 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; increment 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 provide the resource unavailable notification when the current connections is greater than the maximum number of current connections; access 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; determine if a response is received from the service provider before the thread times out;
decrement the dormant counter for the adapter reflecting that the new connection has ended and decrement 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 provide the resource unavailable notification when the thread times out before the response is received;
increment the global active counter reflecting that the response is being processed;
process the response from the service provider system;return the response from the service provider system to the data channel that initiated the transaction request; and decrement the global active counter indicating that the transaction request is completed. - View Dependent Claims (11, 12, 13)
-
-
14. An apparatus comprising memory and a processor configured to execute a process 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 process comprising:
-
receiving a transaction request from a data channel related to a service provider system; determining if the current connections with a server is greater than a maximum number of the current connections allowed for the server; incrementing 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 the transaction request by sending the transaction request to the service provider system; decrementing the global active counter for the server when the transaction request is processed; incrementing a global dormant counter for the server reflecting a response to the transaction request is pending; determining 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 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 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 if a response is received from the service provider before the thread times out; decrementing 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 the global active counter reflecting that the response is being processed; processing the response from the service provider system; returning the response from the service provider system to the data channel that initiated the transaction request; and decrementing the global active counter indicating that the transaction request is completed. - View Dependent Claims (15, 16)
-
-
17. A system for monitoring and regulating concurrent connections in a network, the system comprising:
- at least one server configured to connect to at least one data channel, wherein each connection between the at least one server and the at least one data channel is one of a plurality of concurrent connections;
at least one execution system configured to execute and respond to transaction requests, wherein each transaction request creates a concurrent connection between an execution system and a server that is one of the plurality of concurrent connections; and a processing system in communication with the execution system and configured to; receive a transaction request from a data channel related to a service provider determine if the current connections with a server is greater than a maximum number of the current connections allowed for the server; increment 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 provide a resource unavailable notification when the current connections is greater than the maximum number of current connections; process the transaction request by sending the transaction request to the service provider system; decrement the global active counter for the server when the transaction request is processed; increment a global dormant counter for the server reflecting a response to the transaction request is pending; determine 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; increment 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 provide the resource unavailable notification when the current connections is greater than the maximum number of current connections; access 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; determine if a response is received from the service provider before the thread times out; decrement the dormant counter for the adapter reflecting that the new connection has ended and decrement 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 provide the resource unavailable notification when the thread times out before the response is received; increment the global active counter reflecting that the response is being processed; process the response from the service provider system; return the response from the service provider system to the data channel that initiated the transaction request; and decrement the global active counter indicating that the transaction request is completed. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24)
- at least one server configured to connect to at least one data channel, wherein each connection between the at least one server and the at least one data channel is one of a plurality of concurrent connections;
-
25. A method for identifying a problem in a network, wherein the network comprises at least one server, a plurality of service provider systems, a plurality of concurrent connections, wherein each connection in the plurality of concurrent connection connects a data channel to a server, or the server to one of the 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 Dependent Claims (26)
-
Specification