Skip to content

A highly performant, multi-threaded HTTP 1.1 server written in Nim.

License

Notifications You must be signed in to change notification settings

dom96/httpbeast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpbeast

Extremely fast HTTP responses in Nim.

This is a project to get the fastest possible HTTP server written in pure Nim. The server is still considered experimental but it is already used by the Jester web framework.

Note: This HTTP server does not support Windows.

Features

Current features include:

  • Built on the Nim selectors module which makes efficient use of epoll on Linux and kqueue on macOS.
  • Automatic parallelization, just make sure to compile with --threads:on.
  • Support for HTTP pipelining.
  • On-demand parser so that only the requested data is parsed.
  • Integration with Nim's asyncdispatch allowing async/await to be used in the request callback whenever necessary.

About

A highly performant, multi-threaded HTTP 1.1 server written in Nim.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages