logoalt Hacker News

1shooneryesterday at 8:47 PM1 replyview on HN

What is worse: 10,000 agents running daily targeted queries on your site, or 1 query pulling 10,000 records to cache and post-process your content without unnecessarily burdening your service?


Replies

jakelazaroffyesterday at 9:22 PM

I apprehend that you want me to say the first one is worse, but it's impossible with so few details. Like: worse for whom? in what way? to what extent?

If (for instance) my content changes often and I always want people to see an up-to-date version, the second option is clearly worse for me!

show 1 reply