I am building an mobile app for a huge event. There might be 10.000 active users at the same time, and it must function perfectly, because it’s a one time event and only one evening!
After having read through many scaling discussions of the 2015s and now, I am beginning to think that maintaining a stateful connection at such scale is risky.
While the amount of CPU and RAM usage might be predictable, and scalable, one of the things that bothers me most is a possible limitation on the amount of open websockets and the costs of a connection.
We are planning to host at Heroku and I have read that there is a limit of around 1500 connections per machine (“dyno”). Now my questions:
How expensive is a DDP connection without a subscription?? We might make use of methods to save subscriptions, but I just couldn’t figure out what the price of a bare connection is.
Have you ever experienced connection limits and how do you deal with it?
If you read the whole question - what do you generally think about this? Should I go stateless and waive the comfort of DDP?
Thanks a lot for sharing your experience