Skip to main content

Accelerator for ws4py and AutobahnPython

Project description

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 accelerator has been deprecated.

test

wsaccel uses pytest for testing.

$ pip install pytest
$ py.test tests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wsaccel, version 0.6.3
Filename, size File type Python version Upload date Hashes
Filename, size wsaccel-0.6.3.tar.gz (216.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page