Custom Celery Tasks: including the enqueuing request_id to a task_id in Django

https://unsplash.com/photos/ZnMTiwDYXao

Debugging background tasks can be challenging, given they’re not necessarily executed in the order they’re enqueued (assuming you have multiple workers processing them), may be retried if they fail the first time through, and have no direct link to the web request that enqueued them.

Senior Software Engineer | www.adriennedomingus.com

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Step by step to update skywire using docker

Importance Of Mobile App Maintenance And How Much It Can Cost You In 2022?

App maintenance

Giving away 100,000 for Reddit subscribers

Reddit Give away

CLOUD-NATIVE MIGRATION SERVICES

Introducing Neomap, a Neo4j Desktop application for spatial data

Code Smell 123 — Mixed ‘What’ and ‘How’

Discover Probot  —  Framework to build apps for GitHub

Flutter Vs React Native — Which technology you should choose for Mobile APP Development?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adrienne Domingus

Adrienne Domingus

Senior Software Engineer | www.adriennedomingus.com

More from Medium

Implementing a REST API with Django REST framework

Problems in loaddata

Django Over Flask

mysqlclient with Python 3.10 / Docker