DEV Community

Discussion on: How to create a streaming HTTP interface in Python?

Collapse
 
rhymes profile image
rhymes

If you're used to NodeJS I'm sure you'll fit in with aiohttp being async and all.

About the generator trick: I haven't tried with gunicorn and multiple processes. I feel like it's going to destroy the performance because each process might be able to serve only on request (the one generating the stream).

Can't wait to read your article on the solution ;)