Re:Ask HN: Has anybody shipped a web app at scale with 1 DB ...
by gomox on Tuesday May 26, 2020 @02:13AM
(#23307955)
See my sibling comment with the Hubspot example. Even though the system might work internally, other things will break if you start having duplicate account IDs because other systems don't think of the account ID as a cluster-local identifier, but as a global one.
[ Parent
| on HN ]
Re:Ask HN: Has anybody shipped a web app at scale with 1 DB ...
by ryanbrunner on Tuesday May 26, 2020 @10:14AM
(#23311365)
Just thinking through this, but if it's an entirely separate environment, just host it on a separate subdomain and the account id becomes irrelevant. If you have a functioning staging environment, you already have the ability to run an isolated environment without issue, this is just a different application of the same idea.