3 ms·
Looks like author is not aware of some cuncurrency problems, deadlocks etc. Backend/database might not scale to 100k concurrent connections so easily.
by dotborg2 14y ago
Looks like author is not aware of some cuncurrency problems, deadlocks etc.
Backend/database might not scale to 100k concurrent connections so easily.
- benologist 14y agoThis is where NodeJS really starts to shine - persistant connections and background operations let you do a whole bunch of cool stuff to mitigate that. In my case I have entire db tables and collections replicated in memory and kept in sync via redis pubsub, and the 100,000s of concurrent users I have are all sharing just a few dozen persistant redis and mongodb connections between them.
- darkarmani 14y agoScaling the backend is a lot easier than dealing with concurrent front-end connections!