Invention Grant
- Patent Title: Asynchronous connection handling in a multi-threaded server
-
Application No.: US15460852Application Date: 2017-03-16
-
Publication No.: US10419532B2Publication Date: 2019-09-17
- Inventor: Suresh Warrier
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Agency: Tucker Ellis LLP
- Main IPC: H04L29/08
- IPC: H04L29/08

Abstract:
In accordance with an embodiment, described herein is a system and method for providing an asynchronous architecture in a server with an existing synchronous architecture. The system can include a keep-alive subsystem and a user-level request context switching application programming interface (API). A plurality of connections can be received at the keep-alive subsystem, and each connection can be assigned a request context configured to be executed in the keep-alive subsystem. When a connection being executed by a thread is blocked for I/O, the request context assigned to the connection can be saved, and the request context assigned to another connection can be restored to be executed by the thread. Resources associated with an idle connection can be placed in a pool for reuse by other connections. The system can provide an asynchronous architecture in the server without changing existing code and functionalities of the existing synchronous architecture.
Public/Granted literature
- US20180270304A1 ASYNCHRONOUS CONNECTION HANDLING IN A MULTI-THREADED SERVER Public/Granted day:2018-09-20
Information query