I tried to ask this before, but I did not quite understand what I was trying to find out.
I am creating an application for a client, and he wants users to go to the page and push data to all these users at the same time at a certain time.
For example, he may want to send them to the same link at 16:15
In any case, this seemed like an ideal option for server events. I am not so familiar with Ses, but I thought I would check it out. I started with this railscast: http://railscasts.com/episodes/401-actioncontroller-live
This seems to suggest that for each new user on the page you will need a new parallel connection. This answer seems to confirm that: Server-sent events and Rails threads
For each new user on the page, is a new thread needed? Is the new thread the same as the new parallel connection? If we had 100,000 users, that would be a crazy amount of threads.
Any suggestions on a better way to do this?
source
share