Also, this list is quite literally supabase (https://supabase.com/) - I cannot recommend enough, especially if OP is solo, which it sounds like is the case.
Also, this list is quite literally supabase (https://supabase.com/) - I cannot recommend enough, especially if OP is solo, which it sounds like is the case.
There are levels of multi-tenancy:
* logical multi-tenancy, where isolation is enforced in code and the database (every table has a 'tenant id' key)
* container level multi-tenancy, where you run separate containers and possibly in different namespaces
* virtual machine multi-tenancy, where there are different VMs for each tenant and you can use network isolation as well (NACLs, security groups)
* hardware isolation, similar to virtual machine, but you use separate hardware. Hard to scale this with software, though using something like Equinix metal might work: https://www.equinix.com/products/digital-infrastructure-serv...
These each have different tradeoffs in upgradeability, operations cost and isolation.
Just watch out for really really big customer instances (but then they should be paying more than enough to spend time on their particular scaling issues).
- gotrue for auth, 3.2K GitHub stars
- postgREST to expost postgres as REST API, 19.8K GitHub stars
- kong as API gateway, 33.7K GitHub stars