Re:My Notes on Gitlab's Postgres Schema Design (2022)
by Maxion on Sunday February 18, 2024 @02:45AM
(#39417049)
I've toyed with various SaaS designs and multi tenanted databses always come to th forefront of my mind. It seems to simplify the architecture a lot.
Re:My Notes on Gitlab's Postgres Schema Design (2022)
by tcnj on Sunday February 18, 2024 @03:07AM
(#39417149)
Unless something has substantially changed since I last checked, gitlab.com is essentially self-hosted gitlab ultimate with a few feature flags to enable some marginally different behaviour. That is, it uses one multitennant DB for the whole platform.
Re:My Notes on Gitlab's Postgres Schema Design (2022)
by karolist on Sunday February 18, 2024 @09:35AM
(#39419393)
Not according to [1] where the author said
> This effectively results in two code paths in many parts of your platform: one for the SaaS version, and one for the self-hosted version. Even if the code is physically the same (i.e. you provide some sort of easy to use wrapper for self-hosted installations), you still need to think about the differences.
1. https://yorickpeterse.com/articles/what-it-was-like-working-...
If they use a db per customer then no one will ever approach those usage limits and if they do they would be better suited to a self hosted solution.