* We only have two transport layers: http and ws. We don't bother with a Flash polyfill.
* We start the connection via HTTP long polling and upgrade to WS if its (a) present in the client and (b) the network supports it. We've seen a lot of firewalls kill WS connections, so long polling always works.
* We treat our "push" channels more like a push edge cache. Because of flakey connections you want to hang on to the past 50-100 messages published to a channel so that flakey clients can get messages if their connection drops.
Source code is up at https://github.com/polleverywhere/firehose and you can install it as a gem and have it running in 2 seconds.
I'm happy to answer questions on here if anybody's got them about building a realtime transport layer like Pusher & Firehose!