CherryPy is a Python-based web framework enabling you to make a dynamic web service without much setup and configuration. It comes with its own web server and a "Hello, World" can be constructed in six lines. The default setup might not be that fast, but it may be possible to speed it up, see Running CherryPy behind Apache using Mod_WSGI. I haven't tried that.
Another Python-based web framework is Tornado. Its "Hello, World" is around 17 lines. Below I have listed the results with Tornado and CherryPy default "Hello, World" based on ab, - Apache HTTP server benchmarking tool. It seems that Tornado works well with concurrent connections being considerably faster than CherryPy, and on non-concurrent requests Tornado is around double as fast.↧