Search code examples
pythonwebservercherrypy

Is CherryPy a robust webserver (ie, is it reliable under a huge load like Apache)?


I'm wondering because CherryPy is, from my knowledge, built purely in Python, which is obviously slower than C et al. Does this mean that it's only good for dev / testing environments, or could I use it behind NGINX like I use Apache with Fast CGI currently?


Solution

  • CherryPy's WSGI server is about as fast as a pure-Python WSGI server is going to get. I personally use it behind Nginx in production, but even standalone on my dev machine I can load each instance with several hundred requests / sec. without problems.

    Can you find a faster server? Yes. Is CherryPy a robust web server, and good enough for most people to use in production? Yes.