We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Update the benchmarks with comments. Add a new benchmark for determining 
the overhead of password checking.
Hongli Lai (Phusion) (author)
Sat Feb 23 04:32:58 -0800 2008
commit  e75ba1c8d5ea066da3c18c47245bc3abd9a0c05e
tree    265de6603513c5eb4eb25d35f9f0bbbb3175199e
parent  fc280c2bee437a7cdbc44090b6298aa4ddc8f8bb
0
...
1
 
 
 
 
 
 
 
 
 
 
2
3
4
...
86
87
88
89
90
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
...
96
97
98
 
99
100
0
@@ -1,4 +1,14 @@
0
 #!/usr/bin/env ruby
0
+# We've tried to implement the usage of persistent pipes in Passenger,
0
+# but we found out that it made Apache slower than when we use socket
0
+# connections. That is in contrast to the results of this benchmark.
0
+#
0
+# We couldn't have used persistent pipes (for multiple sessions) in
0
+# Passenger anyway, because it's too fragile. If something goes wrong
0
+# in one session, then the entire pipe becomes unusable for subsequent
0
+# sessions because the protocol will be in an undefined state. Sockets
0
+# don't have this problem because if an error occurs because each socket
0
+# connection belongs to exactly one session.
0
 require 'benchmark'
0
 
0
 ITERATIONS = 100000
0
@@ -86,4 +96,4 @@ def benchmark_persistent_pipes
0
   printf "%.2f messages per second\n", ITERATIONS / result.real
0
 end
0
 
0
-start
0
\ No newline at end of file
0
+start

Comments

    No one has commented yet.