12 ms·
Some use cases for applying websocket in finance/banking: a) near real time quotes b)order fill notifications c)miscellaneous alerts generated by background(reg
by manishsharan 12y ago
Some use cases for applying websocket in finance/banking:
a) near real time quotes
b)order fill notifications
c)miscellaneous alerts generated by background(regulatory monitoring) tasks.
We also support long polling etc. but websocket servers are idling while our polling/push servers are at higher cpu utilization with comparatively lower loads.
- swah 12y agoIf notifications only go one way, server side events should also be considered. ...but I don't remember the advantages anymore :)
- rakoo 12y agoHave a look at this [0]: - Automatic reconnection - Event ids - Straightforward protocol built on plain old HTTP [0] http://www.html5rocks.com/en/tutorials/eventsource/basics/ http://www.html5rocks.com/en/tutorials/eventsource/basics/
- manishsharan 12y agoOnce you introduce a websocket on your html simple page app, it makes sense to send all the user/browser side events to server over the websocket as well. Use socket.io like aggressive websocket connectivity tests and failover to normal REST ajax.