Sunday, July 25, 2021

Elegant solution to "the thundering herd" problem while warming up a cache


The developers at Reddit posted a simple, elegant solution to their (relatively common) ramping problem of handling many tens of thousands of simultaneous requests while warming up a high-level cache. I am embarrassed to admit I had never heard of gevent before but assumed there was something like it powering Reddit, as it is written in Python..

No comments: