On the web server scalability and speed are almost the same thing
1–10 of 67 posts
Re: On the web server scalability and speed are almost the same thing
#2[deleted]
Re: On the web server scalability and speed are almost the same thing
#3[deleted]
Re: On the web server scalability and speed are almost the same thing
#4and that's why we use cppcms, nginx & mongodb. thousands connections per second with templates, localization, setting timezones, db queries...
Re: On the web server scalability and speed are almost the same thing
#5It would be interesting to see the results of this simple experiment for different web frameworks: almost empty template and no other processing => how many requests per second? If it's much slower than i/o times, something should probably be done about it.
(BTW I completely agree with antirez's point.)
Re: On the web server scalability and speed are almost the same thing
#6I agree, not only because I've run benchmarks myself but because simpler and faster code is possible. Just a comparison of everything Sinatra does when rendering (http://goo.gl/6U7yr) vs what Cuba does (http://goo.gl/z1Oes) can shed some light on this issue.
Re: On the web server scalability and speed are almost the same thing
#7I agree, not only because I've run benchmarks myself but because simpler and faster code is possible. Just a comparison of everything Sinatra does when rendering ( http://goo.gl/6U7yr ) vs what Cuba does ( http://goo.gl/z1Oes ) can shed some light on this issue.
Well, that's that settled! Everyone knows that the execution time of a method is linearly proportional to its length.
Re: On the web server scalability and speed are almost the same thing
#8Slow template rendering only matters if your pages are heavily personalized for each user. Stick Varnish in front the page and serve over 2,500 request/sec and use whatever framework you are most comfortable with.
Re: On the web server scalability and speed are almost the same thing
#9Come on, its more about the moral of the story than if he really used das scientific method to benchmark Ruby and PHP.
Re: On the web server scalability and speed are almost the same thing
#10Slow template rendering only matters if your pages are heavily personalized for each user. Stick Varnish in front the page and serve over 2,500 request/sec and use whatever framework you are most comfortable with.
all things can not be cached heavily. And even for things that can you still need to regenerate the cached data to some degree. Code that is ten times slower will require 10 times more hardware even if you cache. The cache only makes the number you're multiplying by 10 smaller.