Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Evaluate the usage of uvloop in the content-app #6021

Open
pedro-psb opened this issue Nov 13, 2024 · 0 comments
Open

Evaluate the usage of uvloop in the content-app #6021

pedro-psb opened this issue Nov 13, 2024 · 0 comments
Labels

Comments

@pedro-psb
Copy link
Member

The uvloop library advertises itself as:

a fast, drop-in replacement of the built-in asyncio event loop. uvloop is implemented in Cython and uses libuv under the hood.

We could test if that works out-of-the-box and if we can see meaningful performance improvements (for example in the services deployment).

Look like its a matter of adding uvloop as a requirement and replacing aiohttp.GunicornWebWorker with aiohttp.GunicornUVLoopWebWorker in our Gunicorn application.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants