Comparison
lambda-multiprocessing vs loky vs mpire vs parallelbar
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
drop-in replacement for multiprocessing.Pool in AWS Lambda functions (without /dev/shm shared memory)
Low maintenance activity. Last release 17 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install lambda-multiprocessingA robust implementation of concurrent.futures.ProcessPoolExecutor
Actively maintained. Last release 2 months ago, commits in 12 of the last 26 weeks. A safe choice.
pip install lokyA Python package for easy multiprocessing, but faster than multiprocessing
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install mpireParallel processing with progress bars
Low maintenance activity. Last release 23 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install parallelbarIn short
- mpire is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- loky is the most used: 2.3M downloads a month.
- loky also has the best Pythie’s Index (76).
- parallelbar is growing fastest: downloads +79% over the last month.
- Safe default for a new project: loky.
Side by side
| Metric | lambda-multiprocessing | loky | mpire | parallelbar |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | 76 |