Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An implementation of WebSocket draft-hybi-10, for both client and server

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 ewsc
Octocat-spinner-32 ewsd
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
README
This is a bare minimal Erlang WebSocket implementation, of latest draft-hybi-10,
with both Server and client.

Comparing to previous versions of WebSocket spec, the data framing is much more
efficient. 

Some figures I tested on two virtual machines, each of which has 8G ram and 2 
CPU core of Intel(R) Xeon(R) CPU E5410  @ 2.33GHz
1. Takes about 90s to establish 400K connections.
2. Takes about 5.5G memory in total.
3. Takes 6s to broadcast 512 bytes message to each of the connections. Highest
   bandwidth I saw was about 60M byte/s.
Something went wrong with that request. Please try again.