If you are familiar with Go, then this package is really great - github.com/gobwas/ws :)
On the backend side I usually connect websocket to a NATS channel for that customer's resource, this way it's easy to scale websocket clients horizontally without much effort. WebSockets are great for UI updates, a lot better than polling.
If you are familiar with Go, then this package is really great - github.com/gobwas/ws :)
On the backend side I usually connect websocket to a NATS channel for that customer's resource, this way it's easy to scale websocket clients horizontally without much effort. WebSockets are great for UI updates, a lot better than polling.
Check out SSE as well: developer.mozilla.org/en-US/docs/W...
I work with Python and Javascript, so I wanted to learn a backend language strongly typed.
And everything points that I should learn Go. Thanks for the link and for pushing me a step more towards Go.