Skip to main content

Cross Thread Message Pipe

Project description

data_pipe

Travis Status Package Version Python Versions

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


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

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page