Skip to content

Comment on Handling 100 Requests per Second with Python and Django

Comments

if you do blocking DB operations before serving ads, latency won't be great. Assuming you don't have to wait for transactions to commit, you can probably push required operations onto a queue (Redis would be fine for that) and serve the content immediately?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.