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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for asgi_ipc-0.2.0.tar.gz
Algorithm Hash digest
SHA256 57f35ae1a4960485bd254f9065b94275079e01647e4954a25f9cbea1a359e177
MD5 d665e843aa8b01d85c55b470b4d4b4d3
BLAKE2b-256 380573e79d8c3cada058f042a73ce0c63b8820c96c7cc2b05e32950732e94165

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for asgi_ipc-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4fd0fd4531ba9c701d68adfa482a652ef271fb208c5b44c9d84f5a1e1ebc9432
MD5 85a34ff86d802d8db2223a8bfcd1ea75
BLAKE2b-256 a0d5c3bc63684cf6a7fd07a893fe4186c9637ebedda3a26dc7a2ef7b5aa1f80a

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