Long Polling Comet Server using EventMachine
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.markdown
comet.js
comet_server.rb
index.html

README.markdown

Comet Long Polling Example

This is a example of a comet long polling server in ruby, and a client for that server in JavaScript using the [Prototype] 1 framework.

I wrote this for a presentation for the [Shenandoah Ruby Users Group] 2 for a talk I gave there.

Talk notes

Real Time Web with Ruby

  • Live!

  • Pure HTML/JS on the Client Side

  • no need for Flash

  • Server in Ruby

  • Examples

  • Collecta

  • Chess.com

  • TOTALe

  • Techniques

  • Comet

  • BOSH

  • WebSockets

  • Gmail

  • XHR Restrictions

  • Start - Request - Response - End