Search code examples
ruby-on-railsnginxthinfayepuma

Thin or Puma: What to use for a Rails Chat server using Faye?


As a learning experience, I'm trying to build a Chat Application for both Android and iOS that allows group chats (like Whatsapp) with a chat server in Rails. After a bit of research, I decided to go with Faye since it seemed easy enough to implement. I'm following these tutorials to do that:

For my Production stack, I was thinking of setting up Nginx with Thin or Puma but I can't understand which would be better and what would be the 'proper' way to set up a chat server in production.


I know this question might be a little subjective, but googling/researching this for the past week has got me even more conflicted since most of the examples are using Thin but most articles prefer Puma.

I would also appreciate if you could give references and examples with your answers. Thank you.


Solution

  • https://blog.engineyard.com/2014/ruby-app-server-arena-pt1

    Here is comparing of various servers with explanation of pros and cons of each.