Cross Thread Message Pipe
Project description
data_pipe
Features
Cross Thread Message Pipe:
- lock-free
- thread-safe
- exponential-back-off
Message Transfer End Points:
- any combination of: sync, trio, curio, asyncio
Benchmark
Performance on local CPU:
cross-thread
sync -> sync @ 1.0 micros/object
sync -> curio @ 5.0 micros/object
sync -> asyncio @ 6.0 micros/object
sync -> trio @ 7.0 micros/object
cross-process
sync -> sync @ 0.5 micros/object
sync -> curio @ 0.7 micros/object
sync -> asyncio @ 0.7 micros/object
sync -> trio @ 0.7 micros/object
Install
To install python package:
sudo pip install data_pipe
Usage
cross-process, cross-framework rpc:
cross-process, cross-framework queue:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
data_pipe-0.2.2.dev6.zip
(72.0 kB
view details)
File details
Details for the file data_pipe-0.2.2.dev6.zip
.
File metadata
- Download URL: data_pipe-0.2.2.dev6.zip
- Upload date:
- Size: 72.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7dcb38656a273f068af27ac5ac71f53f3c2b46997633e337a0558f1d5b0b3b4 |
|
MD5 | 011ee0d3ef9261d1b47a7b472ffacab4 |
|
BLAKE2b-256 | 54141da7e8011f6bd7c346d7f1271b5375ea1034ceedb9eed2827792dc8b0b53 |