---
title: "Tom Huibregtse (@thuibr) | Hashnode"
description: "Software Engineer. Read the latest articles by Tom Huibregtse on Hashnode."
url: "https://hashnode.com/@thuibr"
---

@thuibr

# Tom Huibregtse

@thuibr · Joined December 2023

Software Engineer

## Comments

[Bjoern Stiel Here it is but I can't reproduce it now... I was also using requests in a different task to pull data from jsonplaceholder. I do see it patched now. Sorry to bother you. Here's the gist: https://gist.github.com/thuibr/1cf030c557e728c07e2b734492c54d6e](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31/comment/657bc26fd69ca11ab78a646b#reply-657c6a5487df3eed7ba38dc4)

Reply · Article · Dec 15, 2023 · [Gevent vs Prefork: Busting the Performance Myth](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31)

[Bjoern Stiel I think it's trickier than that. When I print time.sleep in a celery task, I see: \[2023-12-15 07:45:10,095: WARNING/MainProcess\] <module 'time' (built-in)> When I do gevent.sleep: \[2023-12-15 07:47:18,453: WARNING/MainProcess\] <function sleep at 0x7fe73c14b2e0> It wouldn't be (built-in) if it's monkey-patched. I do see that time.sleep gets monkey-patched if I run this in the shell though: from gevent import monkey monkey.patch\_all() True import time time.sleep <function sleep at 0x7e5d2da2fba0> Celery must not monkey-patch time by default for its gevent pool.](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31/comment/657bc26fd69ca11ab78a646b#reply-657c5981f7ee9350b5c6fad5)

Reply · Article · Dec 15, 2023 · [Gevent vs Prefork: Busting the Performance Myth](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31)

[For gevent, wouldn't you want to use gevent.sleep?](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31/comment/657bc26fd69ca11ab78a646b)

Comment · Article · Dec 15, 2023 · [Gevent vs Prefork: Busting the Performance Myth](https://hashnode.com/posts/gevent-vs-prefork-performance/657b11d85565a530c976ff31)

[Bjoern Stiel Nice. I went looking for a blog post to see how to set it up because the one time I tried I had issues configuring it. Lo and behold, I found yours!](https://hashnode.com/posts/celery-debugging-with-vscode/656fae0b51506c681a1072eb/comment/6573265039ab1abc35e1b84b#reply-65739b9817e07d7a0357b8b0)

Reply · Article · Dec 8, 2023 · [Boost Your Productivity: Debug Celery Apps With VS Code](https://hashnode.com/posts/celery-debugging-with-vscode/656fae0b51506c681a1072eb)

[Hi, great post, thanks for sharing! One question though. Isn't the filesystem broker unsupported? It's in Kombu but not in the Celery docs, which I think means it has code but no maintainer and no official support.](https://hashnode.com/posts/celery-debugging-with-vscode/656fae0b51506c681a1072eb/comment/6573265039ab1abc35e1b84b)

Comment · Article · Dec 8, 2023 · [Boost Your Productivity: Debug Celery Apps With VS Code](https://hashnode.com/posts/celery-debugging-with-vscode/656fae0b51506c681a1072eb)
