Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

random-python/data_pipe

Repository files navigation

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:

Morty Proxy This is a proxified and sanitized view of the page, visit original site.