News for hackers. Stuff that matters.
Re:Zed Shaw: "poll, epoll, science, and superpoll" with R by jaekwon on Tuesday August 03, 2010 @02:19PM (#1572114)
0.6 is so arbitrary. it should be 1.0/golden-ratio.
Re:Zed Shaw: "poll, epoll, science, and superpoll" with R by zedshaw on Tuesday August 03, 2010 @04:04PM (#1572561)
I was hoping for e, but alas no luck.
Re:Zed Shaw: "poll, epoll, science, and superpoll" with R by pphaneuf on Tuesday August 03, 2010 @08:38PM (#1573275)
The 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). ;-)

Re:Zed Shaw: "poll, epoll, science, and superpoll" with R by aston on Tuesday August 03, 2010 @04:54PM (#1572718)
It's pretty darn close to 1 - 1/e.
Re:Zed Shaw: "poll, epoll, science, and superpoll" with R by mhd on Tuesday August 03, 2010 @06:05PM (#1572924)
The 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.