馃摀 Add doc on how it differs from celery #298
Replies: 6 comments
|
Hi 馃憢馃徎, Thanks for your interest in PGQueuer! I鈥檒l do my best to provide a fair comparison between PGQueuer and Celery, though keep in mind my views might be a bit opinionated as the author of PGQueuer. How PGQueuer Differs from Celery
Acknowledging Celery鈥檚 StrengthsCelery is a more mature project, and while I don鈥檛 have benchmarks comparing PGQueuer to Celery, I would expect Celery to be more performant and feature-rich, especially for advanced workflows that require task chaining, retries with complex policies, or integration with non-Python systems. When PGQueuer is a Good Fit
If your workflow prioritizes simplicity and you鈥檙e already using PostgreSQL, PGQueuer might be a great fit. That said, if your needs are more complex or involve large-scale distributed systems, Celery鈥檚 maturity and features might make it the better choice. Feel free to share more about your use case or ask any questions鈥擨鈥檇 love to help you explore if PGQueuer aligns with your needs. |
|
How is PGQueuer different from Procrastinate? |
Hi @amacfie, Thanks for your question! While I don鈥檛 have hands-on experience with Procrastinate, I can share some high-level differences based on its documentation. Please note that, as the author of PGQueuer, my perspective might be opinionated. 馃槉 Key Differences
If you鈥檙e seeking a PostgreSQL-native, minimal job queue with built-in recurring tasks, PGQueuer might be a great fit. For higher-level abstractions or Best, |
|
Thanks! (Although I would note that Procrastinate does have scheduled task support: https://procrastinate.readthedocs.io/en/stable/howto/advanced/cron.html). I'm curious about any performance differences -- when a new job is submitted in PGQueuer, do all available workers attempt to claim the job or are jobs scheduled to particular workers? I think Procrastinate does the former. |
Thanks for pointing that out! Based on [Procrastinate's documentation](https://procrastinate.readthedocs.io/en/stable/discussions.html#how-does-this-all-work), the underlying approach seems very similar, but there are a few important details that likely differ. PGQueuer:
Procrastinate:
|
|
Ok thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Hi 馃憢馃徎
I'm already using postgres and would love to replace celery with this one. It'll be easier for us to migrate to pgqueuer if you can share how it diferes from celery and in which scenarios it's good for us to migrate to avoid extra overhead of celery (and celery beat).
All reactions