---
title: "Discussion on \"Celery Execution Pools: What is it all about?\" | Hashnode"
description: "Discussion on \"Celery Execution Pools: What is it all about?\". Have you ever asked yourself what happens when you start a Celery worker? Ok, it might not have been on your mind. But you might have come across things like execution pool, concurrency settings, prefork, threads, gevent, eventlet and solo. So, what ..."
url: "https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802"
---

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

Discussion

# [Celery Execution Pools: What is it all about?](https://celery.school/celery-worker-pools?utm_source=hashnode&utm_medium=feed)

Have you ever asked yourself what happens when you start a Celery worker? Ok, it might not have been on your mind. But you might have come across things like execution pool, concurrency settings, prefork, threads, gevent, eventlet and solo. So, what ...

Oct 19, 2023 · 9 min read · celery.school  
Updated Dec 20, 2023  
Read the article

-   [#worker-pool](https://hashnode.com/tag/worker-pool)
-   [#celery](https://hashnode.com/tag/celery)
-   [#multiprocessing](https://hashnode.com/tag/multiprocessing)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Bjoern Stiel](https://hashnode.com/@bstiel)

@bstiel · London, United Kingdom

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

Writing the Missing Celery Docs

## Responses 5

Comments are turned off for this post.

[Erick](https://hashnode.com/@Lewistrick)

[Dec 11, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/6759432885490df420563c01)

Thanks, this clears a bit of stuff up for me. Do you happen to know whether you can set the worker pool programmatically? I.e. let's say I have a Celery instance `app` and create a worker with `app.worker_main(...)`, can I set the worker pool in the arguments?

[Erick](https://hashnode.com/@Lewistrick)

[Dec 11, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/6759432885490df420563c01#reply-6759452f8e55b210abf021b0)

Never mind, I already found it myself :) It's in the config: `app.conf.worker_pool = "eventlet"`

[Alireza](https://hashnode.com/@Alireza70)

[Sep 15, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/66e671ca59c8b6cc18a01036)

سلام آبا کسی در مورد پلتفرم lilypadچیزی می داند

[shubh](https://hashnode.com/@beshubh)

[Sep 3, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/66d6d35f24fd3ecc9441e186)

Nice read.

For us though gevent or eventlet has never worked, we have tried gevent multiple times but randomly all the kubernetes of this gevent celery app just stop processing tasks and logs show some broken pipe error we tried to research a lot about it but were unsuccessful, we now run threads for IO bound tasks and performance is pretty good so far. I really did wanted to use gevent because of the huge performance benefit it provides as it uses co-operative scheduling.

[Ruslan Kazmiryk](https://hashnode.com/@callogan)

[Jul 3, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/66852a399ec528462cfa3650)

It is very useful

[Omri Ben Ari](https://hashnode.com/@omriba)

[May 26, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/6653272ea9c40b124f27587a)

Great article. (need to fix "--concurrency" spelling in some of the examples)

[Mahboob Alam](https://hashnode.com/@imehboob)

[Feb 4, 2024](https://hashnode.com/posts/celery-worker-pools/655bd73bcdbb34bf838cc802/comment/65bfbe5b7aaad421e767ea2d)

this is nicely explained! I was looking for such a helpful celery resource and hey I have found the gem! thank you so much for making such a dedicated celery blog!
