Top "Gevent" questions

Gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent (libev after 1.0) event loop.

disable request buffering in nginx

It seems that nginx buffers requests before passing it to the updstream server,while it is OK for most cases …

file-upload nginx asyncfileupload gevent
Python - Flask-SocketIO send message from thread: not always working

I am in the situation where I receive a message from the client. Within the function that handles that request (@…

python multithreading socket.io gevent flask-socketio
How can I pool connections using psycopg and gevent?

The psycopg docs state: "Psycopg connections are not green thread safe and can’t be used concurrently by different green …

python postgresql asynchronous gevent psycopg
Make a non-blocking request with requests when running Flask with Gunicorn and Gevent

My Flask application will receive a request, do some processing, and then make a request to a slow external endpoint …

python flask python-requests gunicorn gevent
Celery worker hangs without any error

I have a production setup for running celery workers for making a POST / GET request to remote service and storing …

python celery blocking gevent
Gevent monkeypatching breaking multiprocessing

I am attempting to use multiprocessing's pool to run a group of processes, each of which will run a gevent …

python multiprocessing gevent
Which setup is more efficient? Flask with pypy, or Flask with gevent?

Both 'pypy' and 'gevent' are supposed to provide high performance. Pypy is supposedly faster than CPython, while gevent is based …

python performance gevent pypy
How does a connection pool in MongoDB with pymongo driver?

I'm using mongodb with pymongo driver on gevent based framework. I don't understand working pool connection. I'm creating a new …

python mongodb gevent greenlets
How to find out why uWSGI kill workers?

i have app on Pyramid. I run it in uWSGI with these config: [uwsgi] socket = mysite:8055 master = true processes = 4 vacuum = …

python nginx uwsgi gevent
Python: unit testing socket-based code?

I'm writing a Python client+server that uses gevent.socket for communication. Are there any good ways of testing the …

python sockets testing gevent