3 ms·
I was wondering the same thing. They would have some writes indirectly due to searches, say if someone chooses to block a search result. They’re also going to
by WhitneyLand 3y ago
I was wondering the same thing.
They would have some writes indirectly due to searches, say if someone chooses to block a search result. They’re also going to have some history and analytics surely.
But yeah it’s not obvious what should cause per search write lock contention…
- rwiggins 3y agoYou 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"... :-)