Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Cowboy Websocket demo

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
competition
etc
results
src
.gitignore
LICENSE
README.md
cat_stats
compile_stats
configure_ubuntu.sh
rebar
rebar.config
request.txt
results.csv
results.md
runtest

README.md

wsdemo

A Cowboy Websocket demo

This demo is intended to follow along with the Million-user Comet Application

Demo

Compile:

./rebar get-deps compile

Follow the "Tuning the Linux Kernel for many tcp connections" instructions in Part One of the Million-user Comet Application to increase your available connection counts.

Start the server:

  sudo bash
  ulimit -n 999999
  erl -pa ebin deps/*/ebin -s wsdemo

Start floodtest:

  sudo bash
  ulimit -n 999999
  ./runtest results/erlang.bin 300 10000

Compile the results:

 ./compile_stats results/erlang.bin

I am planning on rerunning these benchmarks with the new stats collecting code using 64bit m1.large instances. The previous results are still available

Something went wrong with that request. Please try again.