Comparison
lambda-multiprocessing vs loky vs mpire
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 11 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 mpireIn 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.4M downloads a month.
- loky also has the best Pythie’s Index (74).
- Safe default for a new project: loky.
Side by side
| Metric | lambda-multiprocessing | loky | mpire |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 21 | 74 |