[go-nuts] Scaling websockets

2018-12-04 Thread ssskip
As Robert mention, that’s a design problem U should 1. do pub/sub 2. do sharding -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegr

Re: [go-nuts] Scaling websockets

2018-11-30 Thread Robert Engels
It is not a websocket issue it is a design issue. Either the notification service needs to subscribe to the MQ channel for each user logged into that service, or it needs to subscribe for a group of users, or all users. Sounds like you are doing all users, and it is not working but you don’t sa

[go-nuts] Scaling websockets

2018-11-30 Thread GolangUser
Hi, The scenario is, a web socket connection is being created to server side application say NotificationService whenever a user login to our website. The NotificationService has been deployed on 5 instances. The event driven service filters the incoming events and broadcast the processed user