I would find it much easier to follow the article if the author used traditional mathematical notation instead of Clojure. Which do you prefer? (* t (/ 1000 w)) or (perhaps typeset properly) t * 1000 / w
Threaded vs Evented Servers
31–32 of 32 posts
Re: Threaded vs Evented Servers
#32Earlier quoted context omitted.
No, while this is a wonderful analogy, I don't think this is actually a problem. It's more like assuming horses weigh 1000 kg --- wrong for all but the biggest draft horses, but a nice round number to work with. For the level of analysis in the article, there's really no difference between a 4 core machine and a processor with a 4x clock speed. His point is that the threaded model makes the most sense when each reque…
False. An evented server (at least, until they get a lot fancier and make you program with locks and such) only gets to use one of the cores, while a threaded server gets all four. Using a single core just means that the threaded server doesn't get any advantage from being threaded, while the evented server gets everything it can use. This "model" is worthless for comparison.