Red Badger gives an overview of the Node project they carried out for the BBC, collating BBC content as it's published and pushing it to the BBC homepage in real time.
CRUD change.[type] firehose.[type] Other iPlayer Now Playing Twitter RSS Content Processors Public Site firehose.* Filtering Backfill Processor Trend Analysis [service] Services firehose.*
requests every n seconds to check for new content. • WebSockets ◦ Bidirectional, TCP layer, Supports IE10+ but fallbacks with Socket.IO etc. • Server Sent Events ◦ Unidirectional, HTTP, simple protocol.
• Served directly from our express app • Super simple plaintext format • Easy to produce, easy to consume • JS Polyfill available where there's no native support... So it works with IE!
running connection, often terminated by corporate proxies etc. • It has an odd MIME type, text/event-stream, this means browsers don't try and read it by default • Does it scale?