Chat rooms and live peer-to-peer chat on the web are high on the list of
stunning rich application features that can still drop jaws. Facebook
recently launched an integrated web chat implementation to much fanfare.
Their impressive Erlang and C++ chat infrastructure showcases real-time web
techniques and live, interactive interface elements. However, following
Facebook's lead is actually not that hard if you use the right approach.
The two main difficulties faced by Facebook, Google, or any other web giant
that wishes to deploy a chat application are scaling out an inconceivably
large messaging back end and sending real-time messages to the browser. The
first problem is one that many of us would like to have, but few actually
encounter. The second problem is getting muc... (more)