News for hackers. Stuff that matters.
Re:Scaling Bitbucket’s Database by qeternity on Saturday February 15, 2020 @03:10PM (#22337642)
10ms to do a redis get? What am I missing here...
Re:Scaling Bitbucket’s Database by Xorlev on Saturday February 15, 2020 @03:55PM (#22337905)
They said that was their time budget, but didn't follow up with how expensive it ended up being in practice -- but agreed.
Re:Scaling Bitbucket’s Database by qeternity on Sunday February 16, 2020 @06:41PM (#22344443)
The article says they were able to keep it close to their max budget, which actually suggests that it was higher than 10ms in practice
Re:Scaling Bitbucket’s Database by avremel on Saturday February 15, 2020 @09:05PM (#22339384)
And presumably query the replicas until an up-to-date one is found (based off the LSN of the user).
Re:Scaling Bitbucket’s Database by qeternity on Sunday February 16, 2020 @06:40PM (#22344436)
I’d have expected the LSN of the replicas to be in redis as well, but fair point. However even as a worst case given their number of replicas, I’d expect to be able to hit redis AND each replica in under 10ms