web.py sucks
web.py might be famous, but it really sucks in performance.
I tried code.py from tutorial and was shocked. The `ab -c 10 -n 1000` benchmark shows code.py can only handle 200 request per second. (CherryPy is about 600 r/s). And in order to boost performance, I also tried mod_wsgi with web.py, the perfomance gain in 20% ~ 30%.
The API design of web.py is not beautiful and even ugly, how stupid it maps URL into a class but not a callable object and force people to write GET, POST functions. It’s not the OO way in which CherryPy code looks much better.
Finally, my suggestion is to get rid of web.py as soon as possible, even in small project. Try mod_wsgi instead if in hurry.
BTW, mod_wsgi is quite excellent, much better than mod_python.
