The Socket.IO documentation says:
When scaling to multiple Socket.IO servers, you will need to replace the default in-memory adapter by another implementation, so the events are properly routed to all clients.
Does it mean that we need to use adapters like Redis only when scaling to multipe servers?
I am planning to implement a chat application with 2 thousand online users.
If I only have one server, is it ok to use javascript array to hold online users?