Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Long Polling Comet Server using EventMachine
branch: master

This branch is even with myers:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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 framework.

I wrote this for a presentation for the Shenandoah Ruby Users Group 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
Something went wrong with that request. Please try again.