Skip to content
Accelerator for ws4py and AutobahnPython
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bench
examples
tests
wsaccel
.gitignore
.travis.yml
ChangeLog
LICENSE
MANIFEST.in
Makefile
README.rst
setup.py

README.rst

WSAccell

https://travis-ci.org/methane/wsaccel.svg?branch=master

WSAccell is WebSocket accelerator for AutobahnPython, and ws4py.

WSAccell replaces per-byte process in them with Cython version.

AutobahnPython beginning with version 0.6 automatically uses WSAccell if available. Otherwise you can run-time patch supported WebSocket libraries using:

import wsaccel
wsaccel.patch_autobahn()  # for autobahn.
wsaccel.patch_ws4py()     # for ws4py.

Note

WSAccell also provides accelerator for Tornado. But Tornado provides own speedup module for now. So Tornado acceralator has been deprecated.

test

wsaccel uses pytest for testing.

$ pip install pytest
$ py.test tests
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.