I have performed a throughput testing with the previous version of Pythomnic, when its HTTP interface was based on CherryPy. Mostly because I wanted to see how fast the simple session tracking based on cookies and pmnc_safe (i.e. BerkeleyDB) was. It maxed out at about 150-200 reqs/sec.
In version 6 I chose to discard session tracking altogether, leaving Pythomnic HTTP requests usable for stateless RESTful kind of web services, rather than stateful browser sessions. The number of worker threads that actually perform the request processing for a given interface is configured in config_interfaces:
- Code: Select all
config.set("http_interface.worker_threads", 10)
therefore at most 10 requests will get in processing simultaneously, the rest will get queued up as described here. Keep this in mind if you decide to give it a test.