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.

Source Distribution

wsaccel-0.6.3.tar.gz (216.0 kB view hashes)

Uploaded source

Supported by

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