webrick
EventMachine
webrick | EventMachine | |
---|---|---|
1 | 3 | |
251 | 4,243 | |
-0.4% | 0.1% | |
5.8 | 3.2 | |
about 1 month ago | 10 months ago | |
Ruby | Ruby | |
BSD 2-clause "Simplified" 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.
webrick
-
Newb here: have you written your own web server? Seeking advice
WEBrick. Written entirely in Ruby, this is where you should start your examination, but not where it should end. WEBrick is easy to understand, because it is all Ruby, but it is not suitable for hosting websites. It is not robust or performant enough.
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.
mongrel - Mongrel on git
Async Ruby - An awesome asynchronous event-driven reactor for Ruby.
ruby_view_server
Celluloid - Actor-based concurrent object framework for Ruby
net-http-server - A pure Ruby HTTP 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
Rack - A modular Ruby web server interface.
Opal-Async - Non-blocking tasks and enumerators for Opal.