background preloader

Comet

Facebook Twitter

A Million-user Comet Application with Mochiweb, Part 1. A Million-user Comet Application with Mochiweb, Part 1 Written on 15 October 2008 In this series I will detail what I found out empirically about how mochiweb performs with lots of open connections, and show how to build a comet application using mochiweb, where each mochiweb connection is registered with a router which dispatches messages to various users.

A Million-user Comet Application with Mochiweb, Part 1

We end up with a working application that can cope with a million concurrent connections, and crucially, knowing how much RAM we need to make it work. In part one: Build a basic comet mochiweb app that sends clients a message every 10 seconds. Nginx_http_push_module - Comet For The People. Plurk: Instant conversations using Comet. The web is becoming more and more realtime and we at Plurk are following the trend.

Plurk: Instant conversations using Comet

Yesterday we released instant notifications so users can have conversations with sub-second delays - - it's like group based instant messaging. Implementing this has not been easy given the complexities and size of Plurk, some problems include: How would you serve 100,000 simultaneous comet requests with Node? - nodejs.