Yeah, I don't disagree. I said I'd look into this a few weeks ago but clearly I've forgotten about it.
There, now that it's an issue I'll definitely get right on it :trollface:
😆 Top man.
I followed the walk-through to get things setup on Heroku and somehow this question never occurred to me:
Does NodeBB support load-balancing? Are there any in-memory data structures that aren't managed through Redis/Mongo (web sockets?) that would cause problems with spinning up extra web dynos to handle additional user load?
Untested, but in a nutshell, theoretically, there shouldn't be any problems.
All user data is stored on Redis, including sessions, meaning it is possible to spin up a cluster of NodeBB instances for load balancing purposes.
Outside of heroku, I've been thinking of using something like
pm2 to try this out.
@julian Good to know it's theoretically possible.
We may be your first guinea pigs :). I'll let you know how it goes once we get there.