3 ms·
Pretty clever take on an old technique. At reddit we would store a field on the user recording the last time they voted on something. If they loaded a page th
by jedberg 9y ago
Pretty clever take on an old technique.
At reddit we would store a field on the user recording the last time they voted on something. If they loaded a page that was newer than that timestamp, then we could skip reading any votes for that page since we knew they couldn't possibly have voted on anything on that page.
This basically takes the same technique and puts it a level down and reverses it, saying "this database has any update this user could have made".
I like it.