I noticed the Meteor stream package here contains SockJS: https://github.com/meteor/meteor/tree/master/packages/stream
Based on some commit messages, I'g guess Meteor use SockJS polling as it's main browser-server communications mechanism. Is that correct?
Looks like it. But it doesn't use websockets or streaming as commented in the code right now:
self.socket = new SockJS(self.url, undefined, { debug: false, protocols_whitelist: [
**// only allow polling protocols. no websockets or streaming.
// streaming makes safari spin, and websockets hurt chrome.**
'xdr-polling', 'xhr-polling', 'iframe-xhr-polling', 'jsonp-polling' ]});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With