While attempting to tune my Apache and modwsgi settings I could not get embedded mode to out-perform daemon mode.
I was testing against a Django/Piston RESTful API which ends up hitting Memcached, Cassandra, and Beanstalkd on an Amazon EC2 Medium instance (2 virtual CPUs). Apache is Ubuntu 10.04's (worker mpm) and modwsgi 3.3. Daemon mode peaked over 550 requests per second with 2 processes and 16-18 threads. Embedded mode peaked just under 475r/s with Apache's default settings. Adjusting thread/client limits up and down only seemed to decrease throughput. Tests were done over 10,000 or 20,000 iterations with between 10-100 initial iterations to make sure everything was initialized. Is this to be expected? -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
