eventlet Questions
2
I am experiencing a problem with a Django application that is exceeding the maximum number of simultaneous connections (100) to Postgres when running through Gunicorn with async eventlet workers. W...
Hooker asked 20/3, 2015 at 15:45
19
Solved
I wanted to install eventlet on my system in order to have "Herd" for software deployment.. but the terminal is showing a gcc error:
root@agrover-OptiPlex-780:~# easy_install -U eventlet
Searchi...
2
I know that someone will face this problem. I had this problem today, but I could fix it promptly, and I want to share my solution:
Problem:
from flask_socketio import SocketIO
You will receive an...
Carrington asked 16/1, 2023 at 17:32
1
I run to issue that Celery worker connection with Rabbitmq met broken pipe error IN Gevent Mode. While no problem when Celery worker work in Process pool mode (without gevent without monkey patch)....
Technician asked 9/8, 2016 at 1:25
3
Solved
I had a working code running flask with gunicorn (eventlet worker) in docker. It's also working in production, but on my machine, it started doing this. I can't find anything on google about this t...
0
My main celery app is running in AWS in an EC2 instance ("main"), and the tasks it generates interact with an RDS database in the same AZ ("db"). The workload generates up to th...
2
We have a Flask application that is served via gunicorn, using the eventlet worker. We're deploying the application in a kubernetes pod, with the idea of scaling the number of pods depending on wor...
Nasal asked 25/6, 2019 at 7:21
2
Solved
One of my django projects is deployed using ansible (gunicorn & nginx). Below is gunicorn configuration :
bind = '127.0.0.1:8001'
backlog = 2048
workers = 8
worker_class = 'sync'
worker_conne...
Soggy asked 10/8, 2016 at 14:51
2
Solved
Hello I'm trying to setup flask-socketio in a docker container.
It seems to run but I get an error( from the browser) when I try to access localhost on port 5000 like I'm used to do with flask app...
Janel asked 19/8, 2018 at 17:43
6
With Node.js, or eventlet or any other non-blocking server, what happens when a given request takes long, does it then block all other requests?
Example, a request comes in, and takes 200ms to com...
Cort asked 16/11, 2011 at 20:13
1
Solved
As mentioned in the celery docs, the eventlet pool should be faster than the prefork pool for evented I/O such as asynchronous HTTP requests.
They even mention that
"In an informal test with a...
Grassgreen asked 29/4, 2015 at 19:32
2
Solved
Within the Concurrency section of the Celery docs it states that:
...mix of both Eventlet and prefork workers, and route tasks according to
compatibility or what works best
Source: http://cel...
Connors asked 19/3, 2015 at 18:50
1
Solved
I have a Python web application in which the client (Ember.js) communicates with the server via WebSocket (I am using Flask-SocketIO).
Apart from the WebSocket server the backend does two more thi...
Symbol asked 15/10, 2016 at 11:59
1
Solved
I'm trying to create a GUI framework that will have an event-loop. some threads to handle the UI and some for event handling. I've searched a little bit and found these three libraries and I'm wond...
Causative asked 25/4, 2016 at 7:20
1
Solved
This is a cross-post from the mailing list, hoping to get more eyes on the question. (original post)
When using running celery worker -p eventlet, does Celery do automatic monkey-patching of my co...
2
Solved
I try to set up a minimal Flask application that uses eventlet to respond to concurrent requests instantly instead of blocking and responding to one request after the other (as the standard Flask d...
Blodget asked 11/1, 2016 at 13:2
1
I have this simple Python programm:
from eventlet import wsgi
import eventlet
from eventlet.green import time
def hello_world(env, start_response):
print "got request"
time.sleep(10)
start_res...
Carthy asked 14/12, 2011 at 17:47
2
Solved
I am using Python requests in celery workers to make large number of (~10/sec) API calls(includes GET,POST, PUT, DELETE). Each request takes around 5-10s to complete.
I tried running celery worker...
Hoelscher asked 4/2, 2015 at 7:20
1
Solved
Specifically the GreenPool class in Eventlet. I have tested some code to upload large files to S3 as individual pieces of a multipart upload. What I have noticed so far is that when using eve...
Aboral asked 30/4, 2013 at 22:33
1
Solved
I've taken sample code from Unterstanding eventlet.wsgi.server.
from eventlet import wsgi
import eventlet
from eventlet.green import time
import threading
def hello_world(env, start_response):
p...
4
Solved
We're using Twisted extensively for apps requiring a great deal of asynchronous io. There are some cases where stuff is cpu bound instead and for that we spawn a pool of processes to do the work an...
Discernment asked 15/6, 2010 at 18:32
2
Solved
Those two libraries share the similar philosophy and the similar design decisions as a result. But this popular WSGI benchmark says eventlet is way slower than gevent. What do make their performanc...
Failing asked 1/10, 2012 at 8:41
2
Solved
After doing Gevent/Eventlet monkey patching - can I assume that whenever DB driver (eg redis-py, pymongo) uses IO through standard library (eg socket) it will be asynchronous?
So using eventlets m...
Boilermaker asked 23/1, 2013 at 23:36
2
Solved
I'm using eventlet to build a simple website crawler starting from this example.
I would like to use SQLAlchemy to store web pages' content and metadata for further processing. It's possible to use...
Elvaelvah asked 3/9, 2011 at 15:32
2
I am working on a web backend / API provider that grabs realtime data from a 3rd party web API, puts it in a MySQL database and makes it available over an HTTP/JSON API.
I am providing the API wit...
Dineric asked 25/5, 2012 at 20:26
1 Next >
© 2022 - 2024 — McMap. All rights reserved.