Skip to content
Comparing WebSockets vs. jQuery AJAX using Tornado
JavaScript Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
static
templates
README
app.py
requirements.txt
sock_app.py

README

Work in progress. An experiment to see how much faster Websockets are
compared to jQuery AJAX.

To test, start the two servers:

 $ python sock_app.py --logging=error [--debug]
 $ python app.py --port=8888 --logging=error [--debug]
 
Then visit: http://localhost:8888/ajaxtest and
http://localhost:8888/socktest


  
 
Something went wrong with that request. Please try again.