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.3.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

asgi_ipc-0.3.0-py2.py3-none-any.whl (6.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file asgi_ipc-0.3.0.tar.gz.

File metadata

  • Download URL: asgi_ipc-0.3.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for asgi_ipc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3f67a4ecd10ecf5d2c205a8ad809021b3873dafddc164940a8ba9c5b8c5eb7a2
MD5 bd71a211e24fe58ebbba8854c15e9993
BLAKE2b-256 32c27f860858946851d5e560a6a398257bff4f1a67507aa0c1472184723e4d36

See more details on using hashes here.

File details

Details for the file asgi_ipc-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for asgi_ipc-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0df0ab11b99810e27f966451ce4694713d2103c31d92c0c466a561946388ba8d
MD5 829bfc4cebcd28ddcd35b9da4959e472
BLAKE2b-256 6a6b55fe3c9887c74f696face8f67f88ca4714fc570b59bfdcb4cd87871b62cf

See more details on using hashes here.

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