New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple simultaneous requests #71
Comments
While meinheld supports greenlet, I think prefork is better way for most use cases.
Why? How many processes do you use? What is your app's bottleneck? (instead of |
I need to have a list of users connected by websocket to be able to broadcast to everyone. For this I need everyone to have the same context The server receives POST requests and send this information to all websockets. Therefore it is necessary to share memory, if not, could not send to all users. |
You shouldn't use meinheld's websocket. |
asyncio or Tornado is what you should use. |
I tried Gevent, is quite similar to meinheld and if I get the part concurrency. I am sorry not to use meinheld :( |
from meinheld import patch solved :) |
He was performing a test with meinheld, I was trying to test whether it is possible to address several requests at once. I see that the server listens only 1 to 1.
Is there any way to change this? I would like the requests received have the same context and not try a fork process.
I tried to use gunicorn + meinheld, now if I can handle several at a time, but do not share memory for me is a problem. I tried to put --threads 10, but to indicate that parameter only serves 1 to 1
The text was updated successfully, but these errors were encountered: