A drop-in replacement for Python's multiprocessing.Queue that uses a shared-memory ring buffer and a POSIX semaphore for lower latency and higher throughput. Version 1.5.2 requires Python >=3.9. Actively maintained.
pip install faster-fifoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Queue, put a message, get it back. Works like multiprocessing.Queue but faster.
For very large data, consider serializing to disk and sending a path.
Use `q.get(timeout=0.5)` is not supported; implement your own timeout with a separate thread/process.
Ensure all queued objects are picklable or switch to a different serializer (unsupported).
Run `pip install faster-fifo --upgrade` in the correct environment.
Increase /dev/shm size (e.g., mount -o remount,size=2G /dev/shm) or reduce queue/message size.
Use `from faster_fifo import Queue` or `from faster_fifo import Queue as FQueue`.
No dependency data recorded yet.