News for hackers. Stuff that matters.
Re:Scaling Bitbucket’s Database by loic-sharma on Saturday February 15, 2020 @02:26PM (#22337334)
That's really neat! I wonder, could you store the PostgreSQL log sequence numbers in a cookie to save the round-trip to Redis?
Re:Scaling Bitbucket’s Database by nhoughto on Saturday February 15, 2020 @06:18PM (#22338729)
I thought this too, but that then creates a likely unreasonable burden on the client. Not all user agents expect cookies either, think of all the varieties REST clients. Sounds like they would also need to internally reference the lsn too, so being able to look it up internally would be valuable.

Feels like there is something there tho in terms of approach, esp since they are keying it on user id.