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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for asgi_ipc-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1915d40b441c339590101cba6e46264f9a0d13c2a8f0c391a89030d703c944b5
MD5 bfd714e8cab3c17d42903cc58ee186e9
BLAKE2b-256 46bde2fb794c4bdbc22f06dea6b9d912e4286e144eada88ae872588a785a992b

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