4 ms·
How does compare with Celery, given the author of both libraries is the same? Is it an apple and oranges comparison? When would one use this instead of Celery?
by ludwigvan 8y ago
How does compare with Celery, given the author of both libraries is the same?
Is it an apple and oranges comparison? When would one use this instead of Celery?
Found the following for those curious:
http://faust.readthedocs.io/en/latest/playbooks/vscelery.htmlt http://faust.readthedocs.io/en/latest/playbooks/vscelery.htm...
- vvatsa 8y agoTypo in link, http://faust.readthedocs.io/en/latest/playbooks/vscelery.html http://faust.readthedocs.io/en/latest/playbooks/vscelery.htm...
- randlet 8y agoI guess the libraries ultimately serve different purposes but the Celery example is 100 times more approachable than the Faust example.
- asksol 8y agoYes, they do serve different purposes but they also share similarities. You could easily write a task queue on top of Faust. It's important to remember that users had difficulty understanding the concepts behind Celery as well, perhaps it's more approachable now that you're used to it. Using an asynchronous iterator for processing events enables us to maintain state. It's no longer just a callback that handles a single event, you could do things like "read 10 events at a time", or "wait for events on two separate topics and join them".