From: Zoltan Dezso Date: 2007-07-25T09:59:45+09:00 Subject: Re: running a huge site Leonard Chin wrote: > > http://jpmobile.rubyforge.org/ Thank you! This is really great. On a different note, i've done a brief benchmarking for ruby. Results are in no way scientific, just a very crude way of comparing different methods. Done with ab, i used t = 10, c = 10|50|100 and keepalive both on and off, so [10/10/o] should mean t = 10, c = 10, keepalive on, and [10/100/x] t=10 c=100 keepalive off OS: CentOS 5.0 Apache: 2.2.3 Ruby: 1.8.5 Result values are requests/second Test page is a very very simple "hello world" type thing (just displaying the contents of a variable really) HTML[10/10/o]: 6026 HTML[10/50/o]: 5893 HTML[10/100/o]: 5860 HTML[10/10/x]: 896 HTML[10/50/x]: 1021 Eruby(1.0.5)[10/10/o]:131 Eruby(1.0.5)[10/50/o]:133 Eruby(1.0.5)[10/100/o]:132 Eruby(1.0.5)[10/10/x]:129 Eruby(1.0.5)[10/50/x]:133 Eruby(1.0.5)[10/100/x]:127 Eruby(1.0.5)[30/200/o]:106 Eruby(1.0.5)[30/200/x]:35 mod_ruby(1.2.6)ERubyRun[10/10/o]:692 mod_ruby(1.2.6)ERubyRun[10/50/o]:738 mod_ruby(1.2.6)ERubyRun[10/100/o]:722 mod_ruby(1.2.6)ERubyRun[10/10/x]:766 mod_ruby(1.2.6)ERubyRun[10/50/x]:811 mod_ruby(1.2.6)ERubyRun[10/100/x]:759 rails(fastcgi)[10/10/o]:173 rails(fastcgi)[10/50/o]:133 PHP(5.1.6)[10/10/o]:2993 PHP(5.1.6)[10/50/o]:3027 PHP(5.1.6)[10/100/o]:2954 PHP(5.1.6)[10/10/x]:1058 PHP(5.1.6)[10/50/x]:991 PHP(5.1.6)[10/100/x]:1057 PHP(5.1.6)[30/200/o]:2182 PHP(5.1.6)[30/200/x]:546 Zaki -- Posted via http://www.ruby-forum.com/.