3 ms·
15K requests with Django is a nice number to hit. What are you using as a server? Gunicorn? Not a bad setup. load balancers --> Vanquish: if !cach
by bliti 13y ago
15K requests with Django is a nice number to hit. What are you using as a server? Gunicorn?
Not a bad setup.
load balancers --> Vanquish:
if !cache:
--> Django
Still makes me wonder how faster this would be in Go or Java. I've never been able to get Python to be very efficient over 5K requests.
- mattrobenolt 13y agouwsgi
- bliti 13y agoGevent is a bit funny sometimes. How are you dealing with it?
- mattrobenolt 13y agoWe don't run gevent for disqus.com. We do some some background workers and whatnot, but our main app is single threaded with a large number of processes on each machine.
- bliti 13y agoInteresting. I'd love to know about the specs of your hardware. Maybe a future blog post about that?
- est 13y agoIf you really need gevent that badly http://uwsgi-docs.readthedocs.org/en/latest/Gevent.html http://uwsgi-docs.readthedocs.org/en/latest/Gevent.html you can spawn greenthread to do some background task just before return response to client.