4 ms·
DB queries in blogs (especially with this kind of traffic spike) are super correlated, you probably don't even need a cache if you batch identical reads togethe
by repsilat 5y ago
DB queries in blogs (especially with this kind of traffic spike) are super correlated, you probably don't even need a cache if you batch identical reads together when the requests arrive within say 10 or 100ms of each other. Not a common technique though.
A proof of concept demo: https://github.com/MatthewSteel/carpool https://github.com/MatthewSteel/carpool