Network buffer caching
Abstract
One embodiment relates to a method of processing packets by a network stack. A first data packet is received from a client via a network, and a network buffer is allocated for the data packet. An indication is given that the data packet is ready for reading by an application. In addition, the network buffer is cached in a network buffer cache. Subsequently, response data may be received from the application, and the network buffer may be re-used from the network buffer cache. The response data may be sent in a second data packet to the client via the network. Finally, the network buffer may be freed. Other embodiments, aspects, and features are also disclosed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of processing packets by a network stack, the method comprising: receiving a request packet from a client via a network; allocating a network buffer for the request packet and copying the request packet into the network buffer; giving an indication that the request packet is ready for reading by an application; and retaining the network buffer in a buffer cache until response data associated with the request packet is received from the application; re-using the retained network buffer by copying the response data into the retained network buffer; and freeing the network buffer after c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗