3 ms·
0.6 is so arbitrary. it should be 1.0/golden-ratio.
by jaekwon 16y ago
0.6 is so arbitrary. it should be 1.0/golden-ratio.
- zedshaw 16y agoI was hoping for e, but alas no luck.
- aston 16y agoIt's pretty darn close to 1 - 1/e.
- mhd 16y agoThe first four digits of 1/0.6 would be 1666, the Annus Mirabilis. So you could compare Mongrel2's multiple request handlers to Isaac Newton first splitting light with a prism.
- pphaneuf 16y agoThe best would be if it would be possible to code up superpoll to be adaptive, and in effect, benchmark itself to come to the same conclusion, dynamically. So if one day the kernel people fixed epoll to be better all the time, Mongrel2 would magically not use poll() much on systems using that kernel, and favour epoll. Of course, that's often Kinda Hard To Do (tm). ;-)