Mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity
First Claim
1. In a computer system wherein a plurality of connections have been established with a plurality of entities, a computer-implemented method for servicing a connection, comprising:
- servicing said connection with a first processing resource;
when said connection is idle, disassociating said first processing resource from said connection;
monitoring said connection for activity; and
when there is activity on said connection, servicing said connection with a second processing resource.
2 Assignments
0 Petitions
Accused Products
Abstract
A mechanism for servicing connections by disassociating processing resources from idle connections and monitoring the idle connections for activity is described. In one embodiment, a connection that is being serviced by a processing resource is disassociated from the processing resource when the connection is idle. The connection is handed to a poll manager for placement into one of several poll subsets. A poll thread associated with each poll subset is sends the poll subsets and poll requests to a poll adapter. The poll adapter uses the features of the operating system to monitor the connection for activity, such as by polling the connections to identify any pending events. The approach may be implemented on different operating systems by changing the poll adapter. The poll manager passes active connections to a work queue to wait for servicing. The present invention avoids wasting resources on connections that are idle.
71 Citations
50 Claims
-
1. In a computer system wherein a plurality of connections have been established with a plurality of entities, a computer-implemented method for servicing a connection, comprising:
-
servicing said connection with a first processing resource;
when said connection is idle, disassociating said first processing resource from said connection;
monitoring said connection for activity; and
when there is activity on said connection, servicing said connection with a second processing resource. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50)
-
-
17. An apparatus for servicing connections in a computer system, comprising:
-
a first processing resource that services a connection;
a managing agent that receives said connection after said connection is disassociated from said first processing resource when said connection is idle;
an interface that monitors said connection for activity; and
a second processing resource that services said connection when there is activity on said connection.
-
-
35. A computer-readable medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to service a connection in a computer system wherein a plurality of connections have been established with a plurality of entities, said computer-readable medium comprising:
-
instructions for causing one or more processors to service said connection with a first processing resource;
instructions for causing one or more processors to disassociate said first processing resource from said connection when said connection is idle;
instructions for causing one or more processors to monitor said connection for activity; and
instructions for causing one or more processors to service said connection with a second processing resource when there is activity on said connection.
-
Specification