Skip to main content

Posix IPC-backed ASGI channel layer implementation

Project description

https://api.travis-ci.org/andrewgodwin/asgi_ipc.svg https://img.shields.io/pypi/v/asgi_ipc.svg

An ASGI channel layer that uses POSIX shared memory IPC as its backing store (only works between processes on the same machine).

Beta - please file issues if it doesn’t work or fails weirdly (shared memory and IPC can be tricky)

Usage

You’ll need to instantiate the channel layer with a path prefix to create IPC objects underneath; any channel layers with the same prefix will talk to each other.

  • prefix: Prefix to use for IPC objects in the root namespace. Defaults to asgi.

Example:

channel_layer = IPCChannelLayer(
    prefix="aeracode",
)

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

asgi_ipc-0.2.0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

asgi_ipc-0.2.0-py2.py3-none-any.whl (6.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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