Did you know you can get similar concurrency as asyncio/ASGI in Flask, by using gevent? It's been possible as long as Flask has existed! Turns out we never documented it, so how would anyone have known? Fixed that https://flask.palletsprojects.com/en/stable/gevent/ #Python #Flask #gevent
Async with Gevent — Flask Documentation (3.1.x)

#python asyncio (with colored functions) or #gevent?

No context, just curious about opinions.

#programming #askFedi

Кратко про библиотеку gevent в Python: высокопроизводительная асинхронная библиотека

Привет, Хабр! Gevent — это высокопроизводительная асинхронная библиотека для Python, которая решает проблемы многозадачности с помощью корутин, известных как " зеленые потоки " или Greenlets . Зеленые потоки — легковесные корутины, которые позволяют выполнять задачи одновременно без затрат ресурсов, связанных с традиционными потоками. Также Gevent преуспевает в неблокирующих операциях ввода/вывода и имеется встроенная техника под названием " monkey patching ", которая модифицирует некоторые модули стандартной библиотеки, делая их кооперативными. Так можно преобразовывать блокирующие вызовы в неблокирующие в рамках среды Gevent.

https://habr.com/ru/companies/otus/articles/821199/

#python #программирование #gevent #библиотеки #highload #высокая_производительность #otus

Кратко про библиотеку gevent в Python: высокопроизводительная асинхронная библиотека

Привет, Хабр! Gevent — это высокопроизводительная асинхронная библиотека для Python, которая решает проблемы многозадачности с помощью корутин, известных как " зеленые потоки " или Greenlets . Зеленые...

Хабр

You can now easily change the WSGI server for Lumos. You can choose between Gevent WSGI and Flask.run().

https://github.com/Wervice/Lumos

#gevent #cloud #wsgi

GitHub - Wervice/Lumos: Lumos lets you run your own file cloud on any computer or server. It has multiple features that will help you and your members stay productive and fast.

Lumos lets you run your own file cloud on any computer or server. It has multiple features that will help you and your members stay productive and fast. - GitHub - Wervice/Lumos: Lumos lets you run...

GitHub

Great overview of #Python #async frameworks. I still like the #gevent framework as works with minimal code changes and no need for additional #asyncio libs (just run 'apt search python3-aio' to see what I mean). The monkey patching still feels like magic fairy dust to me.

https://www.bitecode.dev/p/asyncio-twisted-tornado-gevent-walk

Asyncio, twisted, tornado, gevent walk into a bar...

... they pay, they leave, they drink, they order.

Bite code!
@M0CUV
The reason that your work is so interesting to me, is that I am huge fan of #CSP, Communicating sequential processors. #GoLang, #LuaLang and Python's #gevent are all based on CSP.. Modern cpu's do not support it well. The transputer supported it. We need Forth processors running CSP.

@ossmkitty
wote some excellent articles about gevent, used in gunicorn, on his blog.

https://seecoresoftware.com/blog/categories/cat_python-gevent.html

I never did like Asyncio, but I was scared to do something differently from everyone else. But I see that gevent, is continuing to evolve, has great documentation, and makes life hugely easier for the developer, so I will be switching to it.

I wonder why the whole Python community went with Asyncio? So painful to use.

#python #asyncio #gevent #gunicorn

Posts about gevent | Jason Madden

<a href='http://gevent.org'>gevent</a> is a <a href='https://greenlet.readthedocs.io'>greenlet</a>-based networking framework for Python.

Thank you @ossmkitty
for all the work that you have done on #zodb, #relstorage and #gevent. #Python

#welcome to mastodon.

We have to talk about this Python, Gunicorn, Gevent thing https://hackeroo.co/330980

#Gunicorn #Gevent

We have to talk about this Python, Gunicorn, Gevent thing