3 ms·
I'm still waiting for the day that somebody does a "super simple chat" with NO dependencies. Why do they all need REDIS or some kind of persistence? Why not jus
by susi22 11y ago
I'm still waiting for the day that somebody does a "super simple chat" with NO dependencies. Why do they all need REDIS or some kind of persistence? Why not just hold it in memory?
If you really have a use case where persistence & scaling is an issue you're likely not going to use any of those chat servers anyways.
- defaultcoder 11y agoOne of authors is here. Redis saves data to the disk by default but this can be turned off. That's what we did. GUIDs of connected users are stored in memory with expiration by the 10 min timeout. I think scalability does not hurt privacy. It's nice to have 10 servers with 40GB memory instead of one with 4GB. Connections between servers can be encrypted with TLS.