Answer the question
In order to leave comments, you need to log in
How powerful should a server be for chatting 100 people online?
Hello.
On the site I plan to make a chat on rails (with the help of Faye). However, I don’t know how powerful the server should be so that 100 people can easily communicate online? I understand that the load should be decent.
Maybe someone already has similar chats or just knows?
Thank you.
Answer the question
In order to leave comments, you need to log in
profiling and load tests!
You understand that everything depends on the implementation.
Faye as far as I remember for pub/sub between ruby and node.js use, no? That is, you will have a chat on node.js and authentication and authorization on ruby?
In general, 100 people online on websockets, even on ruby, can be mastered by a simple VPS bucks for 5 quietly. But everything can be screwed up by blocking the server with an authorization check or some other nonsense.
If you know how websockets work, are familiar with the concept of a tcp connection, know how to work with asynchronous sockets via epoll / select, then implementing a ruby chat without any node.js is not a problem.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question