net-http-server
EventMachine
net-http-server | EventMachine | |
---|---|---|
1 | 3 | |
68 | 4,243 | |
- | 0.1% | |
10.0 | 3.2 | |
almost 2 years ago | 10 months ago | |
Ruby | Ruby | |
MIT License | Ruby License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
net-http-server
-
Newb here: have you written your own web server? Seeking advice
Yes, I actually have. Implementing a basic HTTP parser isn't that difficult, once you implement the correct parsing rules from RFC 9110. If you want to fully support the HTTP protocol, you also have to implement things such as Chunked Transfer Encoding or Gzip Deflate.
EventMachine
-
I don’t get all the hate for PHP and at this point I am too afraid to ask.
You could also use something like EventMachine (In ruby), Twisted (Python), Node (JS) or ReactPHP (for PHP) that will use the language and turn it into a web application server, and then you'll have only one long running process that handle all your requests with shared memory. You could even use something more fancy like RoadRunner in the case of PHP.
-
Newb here: have you written your own web server? Seeking advice
Maybe check out EventMachine. You can roll your own using sockets if you don't want to use a library.
-
Best of (Ruby) Gems Series - What's Next? What's Hot?
EventMachine
What are some alternatives?
Thin - A very fast & simple Ruby web server
Concurrent Ruby - Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
webrick - HTTP server toolkit
Async Ruby - An awesome asynchronous event-driven reactor for Ruby.
mongrel - Mongrel on git
Celluloid - Actor-based concurrent object framework for Ruby
ruby_view_server
Polyphony - Fine-grained concurrency for Ruby
bindata - BinData - Reading and Writing Binary Data in Ruby
render_async - render_async lets you include pages asynchronously with AJAX
http_tools - Pure Ruby HTTP parser and friends
Opal-Async - Non-blocking tasks and enumerators for Opal.