Hacker News new | ask | show | jobs
by rwiggins 891 days ago
You know, in retrospect, I think Kagi expects O(thousands) searches per month per user, so doing per-user usage accounting in the DB is fine -- thanks to row-level locking.

Well, at least until you get a user who does 60k "in a short time period"... :-)

1 comments

It's the outliers and "surely nobody could be THAT awful" that kill you. Every time.
I once had a stock alert product running on a backend I wrote. One person signed up for alerts for every single Nasdaq ticker there was. We didn’t expect that.