4 ms·
The problem being described here isn't Python. gunicorn, or gevent; it's bad programming. I'd be willing to bet there are systems out there written in C++, Java
by pdonis 7y ago
The problem being described here isn't Python. gunicorn, or gevent; it's bad programming. I'd be willing to bet there are systems out there written in C++, Java, and Ruby that do the same dumb things. The solution is to not do dumb things--to understand what your program is doing. It's perfectly possible to do that in Python, gunicorn, and gevent.
- _old_dude_ 7y agoIn the case of Java, the Selector API was introduced in Java 4 (2002) for this exact reason, avoid to have all the threads to all waits/being notified on accept().