In short, when doing testing on MacOS X and Linux, on Linux the the
CherryPy wsgiserver results were comparable to one of the other
hosting solutions being tested. But on MacOS X, the CherryPy
wsgiserver only showed about 60 percent the throughput when compared
to the other solution.
I very much doubt the other solution being compared to was running a
lot better on Linux, so have always suspected that the CherryPy
wsgiserver was for some reason not running that well on MacOS X.
Has anyone else experienced less than stellar performance with the
CherryPy wsgiserver on MacOS X?
I know MacOS X has its quirks, but wouldn't expect such a noticeable
performance difference.
FWIW, the testing is with serialised requests and no keep alive. Ie.,
ab -n 3000 http://localhost:8000/
Thus, issues related to the GIL and threading shouldn't figure in any
way.
Graham