摘要:
Upstream devices, such as load balancers or routers, within a server farm, may be configured to route requests to the servers handling sessions for those requests using a secure (e.g. encrypted) unique ID or network address received with requests identifying how requests may be routed through the server farm. Upstream devices or a server receiving a request that is not associated with a session may generate a unique ID or select a network address identifying how the request is routed through the server farm. The server handling the request forms a session ID and returns that session ID and the unique ID to the client that originated the request. Encryption may be performed on network addresses or session IDs. Upon receiving a request corresponding to an established session, an upstream device may then decrypt routing information from the encrypted unique ID or network address and send the request downstream accordingly.
摘要:
An upstream device, such as a load balancer or router within a server farm, may perform sticky routing of session requests to the servers handling those sessions by generating unique ID(s) identifying how requests may be routed through the server farm. Upstream devices through which travels a request that is not associated with a session on a server of the server farm may generate one or more unique IDs identifying how the request is routed through the server farm. The server handling the request may form a session ID and return that session ID and the unique ID(s) to the client that originated the new request and session. Clients may then send the session ID and unique IDs with clients requests for that session. Upon receiving requests corresponding to established sessions, the upstream devices may then identify routing information from the unique ID(s) and route the request accordingly.
摘要:
A method and apparatus for buffering data in a multithreaded environment is provided. According to one aspect of the invention, log data is generated in response to a request for accessing a resource. A data management structure that is associated with a plurality of data buffers is identified and a reference value that is associated with the buffer management structure is read. The reference value provides information that identifies a particular data buffer that is likely available for buffering data. Based on the reference value a particular data buffer that is associated with said data management structure is selected for buffering the log data.
摘要:
A method and apparatus for dynamically allocating data buffers to a data structure is provided. According to one aspect of the invention, the amount of log data that is being stored within data buffers associated with a data structure is monitored. Based on the amount of log data that is being stored within the data buffers, a determination is made as to whether additional data buffers need to be linked into the data structure. If it is determined that additional data buffers do need to be linked to the data structure, one or more free buffers are identified and linked into the data structure.