Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Accelerator for ws4py and AutobahnPython

Project description

NOTE: AutobahnPython and ws4py are not actively maintained. So I will stop this project too. Please migrate to Tornado or websockets.

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.

test

wsaccel uses pytest for testing.

$ pip install pytest
$ pytest tests

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page