Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Caching is the key here, it could still be making database requests which are blocked, unless it's using async.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: