/sandbox-em-websocket

(Sandbox) Fun with EventMachine WebSockets and Javascript

Primary LanguageJavaScript

sandbox-em-websocket

EventMachine server with em-websocket support and Javascript client. Raphael JS animates user avatar backed in a redis store.

Players

Setup

Static file server (0.0.0.0:9000):

ruby servers/static.rb

EventMachine WebSocket server (0.0.0.0:1337):

ruby servers/em_websocket.rb

Node WebSocket server (0.0.0.0:1338):

node servers/node_websocket.js

TODO:

  • Add package/gemfile eventually.
  • Add benchmarking server.
  • Replace Raphael with raw canvas buffer.