Trisha Shetty (Editor)

In kernel web server

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

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

Contents

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

  • illumos/Solaris: NCAkmod aka Network Cache and Accelerator (NCA) kernel module
  • HP-UX: NSAhttp
  • Linux: TUX
  • Windows NT: http.sys (part of IIS)
  • SPIN: http
  • OpenVMS: WASD.trap
  • References

    In-kernel web server Wikipedia