News for hackers. Stuff that matters.
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.
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.
Re:Ask HN: Has anybody shipped a web app at scale with 1 DB ... by gomox on Tuesday May 26, 2020 @03:04PM (#23315159)
You can probably run the environment itself, but other systems (release management, monitoring, billing, etc) probably rely on the account_id being unique.