Answer the question
In order to leave comments, you need to log in
Is it realistic to use ActionController::Live for a site with a lot of visitors?
I read the Habr article Streaming in Rails 4 .
Let's say we have a website. 5000 people can sit online (just open a tab). For example, a social network. What new user should receive instantly.
Suppose the server is rather weak (vds with 1GB of memory).
How realistic is it to use ActionController::Live for such a task, or is it necessary to use EM / node.js and nothing else?
Answer the question
In order to leave comments, you need to log in
You can use faye (a wrapper for EM with server and client side, something like socket.io for ruby). For it, you can google usage examples in rail (and you can also see an example code with authorization for it here https://github.com/ryanb/private_pub)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question