Re:On the web server scalability and speed are almost the sa...
by antirez on Friday April 01, 2011 @06:27PM
(#2398364)
Ok my fault that did not said this in the blog post.
I was playing with Sinatra, and my real page involved substituting a few nested templates, with different parts of the site. News box, comments boxes, ...
The result was... 30 requests per second once a few templates started to stack, and with mostly toy code.
It is easy how things can get worse just doing a few mistakes along this path.
I was playing with Sinatra, and my real page involved substituting a few nested templates, with different parts of the site. News box, comments boxes, ...
The result was... 30 requests per second once a few templates started to stack, and with mostly toy code. It is easy how things can get worse just doing a few mistakes along this path.