We have several tasks that we consume from a message queue. The runtimes of those tasks are dependent on fetching some data from a database. Therefore ...
We have several tasks that we consume from a message queue. The runtimes of those tasks are dependent on fetching some data from a database. Therefore ...
I have a greenlet that does some I/O and figures out how long to sleep until it should be awakened to continue. Say some external event should cause t ...
We are using alpine 3.16.2, python 3.11.0 and pip 22.3 along with bunch of other libraries (django, google, etc.) installing via pip Same is workin ...
When running pytest --collect-only, PyTest collects the correct tests, but terminates with this: From the traceback, there's no indication what wen ...
Background I've got a Django app that is heavily iobound, so per docs I've read, I'm trying to get gunincorn working with gevent for the best perform ...
I am trying to install gevent 21.12.0 on Mac OS Monterey (version 12.6) with python 3.9.6 and pip 21.3.1. But it is failing with the below error. Any ...
I have two servers where bidirectional communication needs to be happened. For kafka I have 2 topics 2 producers and 2 consumers. Trying to communica ...
I want to used the grequests library in a Google Colab notebook, however upon importing it (and patching it using gevent.monkey), the program spits ou ...
I am attempting to run python manage.py runserver and I am getting a The entirety of the output can be seen here: The module import code in /opt ...
I am trying to send Keyboard typed data to a webpage using Flask SSE following this tutorial. I could send the data. But the problem is that I could s ...
I tried to install many dependencies for a virtual environment using poetry. When it gets to gevent (20.9.0) it gets the following I've tried to us ...
According to the official guide https://docs.gunicorn.org/en/latest/settings.html#settings a worker will restart when it has handled max_requests re ...
I have a web server whose REST API I want to load test. I use locust==2.5.1, python==3.8.2. Locust Config: Users:3 Spawn Rate: 3 Expected ...
Locally, it works. Socketio upgrades to websocket instead of resorting to polling. This is obvious from the logs: Upon deploying the application ...
I am trying to have a consumer on a separate thread that never dies. The consumer can get arbitrary number of tasks to execute. I have been fiddling ...
The title says it all. It seems better and faster to use one of the methods belonging to gevent.Pool to run greenlets in parallel (sort-of) in a pool, ...
I am working with a Python server which spawns a greenlet for each connection to the server. Currently, the server doesn't make use of a greenlet pool ...
I am using python 3.9. I tried to install a python package : But it gives me an error I tried to download the gevent from this link https://www. ...
We got a old package write in python2, and working on upgrade it to python3. It's a web app and we are using the WSGIServer. However, when I try to ...
I've asked this question before but decided to delete that old question and reformulate it along with a minimum reproducible example. The issue is tha ...