Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for remote cluster multi-tenancy #2158

Closed
elprans opened this issue Jan 27, 2021 · 0 comments
Closed

Add support for remote cluster multi-tenancy #2158

elprans opened this issue Jan 27, 2021 · 0 comments
Assignees

Comments

@elprans
Copy link
Member

elprans commented Jan 27, 2021

Currently it is assumed that there is always a 1:1 correspondence between an EdgeDB instance and a remote Postgres cluster. This isn't necessary and makes in-place EdgeDB upgrades hard to implement. A solution would be to partition the Postgres cluster between EdgeDB "tenants" by mangling database names using a tenant id, which would be passed as a command-line argument to edgedb-server alongside --postgres-dsn. This approach can also be used to host an arbitrary number of EdgeDB instances in a single Postgres cluster.

@elprans elprans self-assigned this Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant