---
title: "Discussion on \"Running Async Python Inside Celery Is Harder Than You Think\" | Hashnode"
description: "Discussion on \"Running Async Python Inside Celery Is Harder Than You Think\". Why asyncio.run() breaks, why prefork workers complicate everything, and how persistent event loops solve the problem."
url: "https://hashnode.com/posts/running-async-python-inside-celery-is-harder-than-you-think/6a39c2537c6137c5752f3115"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Running Async Python Inside Celery Is Harder Than You Think](https://koladefaj.hashnode.dev/running-async-python-inside-celery-is-harder-than-you-think?utm_source=hashnode&utm_medium=feed)

Why asyncio.run() breaks, why prefork workers complicate everything, and how persistent event loops solve the problem.

Jun 22 · 11 min read · koladefaj.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#asyncio](https://hashnode.com/tag/asyncio)
-   [#asynchronous](https://hashnode.com/tag/asynchronous)
-   [#celery](https://hashnode.com/tag/celery)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Kolade](https://hashnode.com/@akoladefaj)

@akoladefaj · Abuja, Nigeria

  
[View profile](https://hashnode.com/@akoladefaj)

Backend engineer — distributed systems & reliability. Building Relier (zero-job-loss for Celery).

I build backend systems that don't lose data under failure. I maintain Relier, an open-source reliability layer for Celery, and have contributed to distributed AI inference systems including InclusionAI's AReal. Currently open to remote backend and reliability engineering roles.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
