viernes, 3 de septiembre de 2010

          Here I am, with the results of my first benchmark. For this test, I wanted to check how Cherokee behaves under different stress levels. The variation factors were the number of threads of the server, and the concurrency level of the clients.For this test I used a regular -fairly modern- server running Linux 2.6, and Cherokee 1.0.8. The testing tool was ab. The target was a directory with about 50 files, with an standard configuration file that set the web server to use 'handler_common' (and thus, handler_dirlist) to serve the requests.


Here you can find the plot after the data collection:


On X axis we have concurrency
On Y axis we have the request/second


 As you can see, as long as the server runs with more than a single thread the performance it similar. As you can imagine by now, the blue line represents the performance of that special case.
       So, what do I have learnt from this?  The thread number does not certainly look like a very relevant factor when it comes to performance in Cherokee.  By default, it launched 10 threads in the testing server, which seems to be a very reasonable value.

No hay comentarios:

Publicar un comentario