Distributed Python

Build your Celery (the distributed task queue, not the vegetable) skills with weekly tutorials,
how-tos and articles about common gotchas.

May 15, 2018

Estimated reading time: 5 minutes

Testing Celery Chains

Posted by Bjoern Stiel

Celery chains allow you to modularise your application and reuse common Celery tasks. A classic use case is a market data system we at Zoomer Analytics built for a hedge fund client. The aim was to consume market data from different data vendors such as Bloomberg or Reuters. The APIs were of all different kinds and shapes but ultimately the...


May 01, 2018

Estimated reading time: 2 minutes

Unit Testing Celery Tasks

Posted by Bjoern Stiel

While you might get away with not writing unit tests for very simple Rest API endpoints, doing the same for celery tasks is recipe for frustration (and disaster). Celery tasks are asynchronous by design and therefore a lot harder to get a grip on using a “development driven development” approach.


Get distributed Python tips straight to your inbox