Which asynchronous Ruby server should I use?

We are starting to develop a new game project using Ruby. We decided to use one of the Ruby's asynchronous servers, but we cannot decide which one to choose. Possible options:

  • Goliath
  • Cramp + Thin / Rainbow
  • rack-fiber_pool + rack + thin / rainbows
  • eventmachine_httpserver

All of them seem to work with HTTP requests. Cramp also supports Websockets and Server-Side.

Do you know any pros and cons of these servers?

+6
source share
2 answers

I used eventmachine_httpserver to provide a RESTful API in an EventCach based IRC bot and would definitely not recommend it for anything serious. This looks more like minimal proof of concept than a serious web server, perhaps the best-illustrated parse_headers that I should have used.

+2
source

You can also look at pub / support services such as nats .

+1
source

Source: https://habr.com/ru/post/898320/


All Articles