> send events to all clients
With SockJS, you have total freedom to implement other things on you server side.
For your "send events to all clients " problem, for example, if you use Nodejs, you can use Redis to add pubsub to your server side:
* Create a channel
* All clients subscribe to the channel
* Publish xxx to the channel
* Subscribers are notified about xxx, they use SockJS to send xxx to all clients