Socket.IO is a node/javascript library for managing sockets and sending messages. The library as of version 1.0 will start with long polling and upgrade to a socket as soon as it can which makes it a fast and reliable solution for realtime communication. For .net users, is very similar to SignalR however as someone who’s worked with both, I found to be far cleaner and easier to use.

There are a number of really useful libraries that allow you scale across multiple servers via redis and emit messages from any part of your application.

If you’re using haproxy you may need to make a couple of adjustments to the config to get the sockets working correctly, but apart from that it should be fairly straight forward.

If you’re looking at adding socket based communication to your solution and need help please get in touch

Useful Resources

Do you have an app/project you'd like a quote for?

Hi there, I’m Alex and I’d love to discuss your next project with you.

I’m happy to discuss requirements, timeline, budget and any other concerns you may have.