Aleksey Dmitriev
Aleksey Dmitriev

Reputation: 86

What aynchronous Ruby server to use?

We're starting development of the new game project using Ruby. We decided to use one of the asynchronous Ruby servers, but we cannot decide which one to choose. Options are:

All of them seem to be working with HTTP requests. Cramp also supports Websockets and Server-Side events from the box.

Do you know any pros & cons of these servers?

Upvotes: 6

Views: 551

Answers (2)

Steve Wilhelm
Steve Wilhelm

Reputation: 6270

You may also want to look pub/sub services like nats.

Upvotes: 1

Paul Annesley
Paul Annesley

Reputation: 3407

I've used eventmachine_httpserver to expose a RESTful API in an EventMachine-based IRC bot and would definitely not recommend it for anything serious. It seems more like a minimal proof-of-concept than a serious web server, perhaps best illustrated by the parse_headers hack I had to use.

Upvotes: 2

Related Questions