News for hackers. Stuff that matters.
Re:Scaling Bitbucket’s Database by cryptonector on Sunday February 16, 2020 @01:03AM (#22340053)
Bitbucket is a perfect case for sharding. You could have one DB of users, and N DBs of user data, with the first referencing the latter, and then distribute user data among the latter. You could do this straight up with PostgreSQL without any special server-side software. You could also have a PG server using FDW to act as a proxy for all the DBs a client needs to be talking to. There are many other options too.

There are no comments on this comment yet.