Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • If you have enough threads they only fit in virtual memory with a 64-bit address space, they're practically guaranteed never to be in cache when they wake up. This might be absolutely fine for many use cases, but for many others it's completely unacceptable. I'm pretty sure that having different non-functional requirements than you does not make me a chimpanzee. Commented Nov 17, 2021 at 20:03
  • @Useless first, please don't take it personally ;-) the experiment was actually projected towards corporate rules and authors were pointing that humans often fall a victim of such bias as well. I myself have fallen into it few times at least. Now for the memory: current machines don't have enough physical RAM to handle enough requests to fill virtual address space. The biggest successful squeeze per machine in real life service I've seen was about 10_000. Generally the amount of cache should be proportional to the amount of RAM, that's why putting 256GB RAM into a main-board with small... Commented Nov 17, 2021 at 20:11
  • I'm not upset about the simian simile, just pointing out that my performance constraints are real, even though they're different to yours. Commented Nov 17, 2021 at 20:14
  • 1
    @JimmyJames yes :) I've just updated my answer regarding the cache hits. Thanks again for the fruitful discussion! Commented Nov 17, 2021 at 21:51
  • 1
    Yes, this has been very informative. My belief/argument is that the push has been around scalability. The idea being that an (IO bound) webserver can handle more concurrent requests using async requests. Your points have made me question some of my assumptions around this which is great. Commented Nov 17, 2021 at 21:55