Jump to content

In-kernel web server

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Demasu (talk | contribs) at 00:56, 11 July 2019 (Removal of dead link since the page "Comparison of lightweight web servers" was merged into "Comparison of web server software".). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

An in-kernel web server is an unlimited HTTP server that runs in kernel space or equivalent. It is also called "accelerator".

Benefits

  • Performance. The path taken by data from disk to network. Proper asynchronous zero-copy interfaces would make this available from user-space.
  • Scalability with respect to number of simultaneous clients. Event notification of comparable scalability seems unlikely in user-space1.

Drawbacks

  • Security: Kernel processes run with unlimited privileges.
  • Portability. Every kernel needs a specific implementation route.
  • Reliability. Failure in the webserver may crash the OS.

Implementations

See also

References