Live data from Hacker News

Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

socketcluster.io

11–20 of 41 posts

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#11
post #7

This seems very impressive, but I wonder why we would want to switch to it from socket.io in our use case. We have built an open source platform that takes care of all the usual stuff you need when building realtime social apps. From the client side caching down to the pubsub, message ordering, security, and pushing updates via socket.io back to the client and updating the caches. It is designed to work in a distribu…

I'm the main author of SC. Your system does sound similar to SC - It seems to be a pretty standard realtime architecture - Those who started building their realtime systems with Socket.io (as you did) often end up with something similar to what you describe except it takes a lot of work to get there... A lot of people who use SC decided to make the switch because they started implementing their own pub/sub stack (as…

Thanks for the answer! I was suspecting as much for our use case but wanted to clarify.

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#12

From personal experience -- switching from socket.io to socketcluster.io for our conferencing platform was a life saver. Its so much more stable & performant its crazy. We also use it to run our webrtc video chat platform which works great as well. Cant say enough good things about this.

Should say that we horizontally scale this thing pretty heavily using the sc-redis module. Elasticache + ELB + 4 EC2 Instances = support for 5000+ person conferences :D

This sounds interesting. Do you have a web-site? Open source?

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#13
post #2

How is this different than this? https://news.ycombinator.com/item?id=11071916

I was wondering the same. What are the odds of two very similar projects with nearly identical headlines appearing on HN at nearly the same time?

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#15
post #13
post #2

How is this different than this? https://news.ycombinator.com/item?id=11071916

I was wondering the same. What are the odds of two very similar projects with nearly identical headlines appearing on HN at nearly the same time?

Project 1 is submitted and trending, someone thinks "Oh, I have/have seen something similar, let's submit it while people are thinking about the topic?"

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#16

Interesting these are coming around now. Some services (i.e. Pubnub) have been doing this (for money) for a long time and what I noticed were at the end of the day, the use cases were actually rather limited. Apart from stock quotes, bitcoin quotes and multiplayer games - polling just isn't that bad. And it's actually a very good place to start when developing as it's simple.

Programming is akin to woodworking. Lots of tools and all of it is for wood. Use the right tools to craft the right solutions.

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#17
post #7

This seems very impressive, but I wonder why we would want to switch to it from socket.io in our use case. We have built an open source platform that takes care of all the usual stuff you need when building realtime social apps. From the client side caching down to the pubsub, message ordering, security, and pushing updates via socket.io back to the client and updating the caches. It is designed to work in a distribu…

I'm the main author of SC. Your system does sound similar to SC - It seems to be a pretty standard realtime architecture - Those who started building their realtime systems with Socket.io (as you did) often end up with something similar to what you describe except it takes a lot of work to get there... A lot of people who use SC decided to make the switch because they started implementing their own pub/sub stack (as…

Does SC require the need for a DB?

Re: Show HN: SocketCluster.io – flexible open-source real-time server with pub/sub

#19

Interesting these are coming around now. Some services (i.e. Pubnub) have been doing this (for money) for a long time and what I noticed were at the end of the day, the use cases were actually rather limited. Apart from stock quotes, bitcoin quotes and multiplayer games - polling just isn't that bad. And it's actually a very good place to start when developing as it's simple.

Polling can be a fine place to start and is better than nothing. The speed of realtime updates does matter though. Even for seemingly boring use-cases like synchronizing CRM screens or something, it's still best if updates happen within a few seconds. And instant (sub-second) updates add an extra level of polish. Similar to non-flickering graphics and smooth scrolling, fast updates are impressive and can increase the appeal of an app.
Post reply on HN