-
Notifications
You must be signed in to change notification settings - Fork 48
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 multi-tenancy-draft-design doc #393
base: master
Are you sure you want to change the base?
Conversation
|
||
### Quota | ||
|
||
quota limits the resource usage of a tenant, there are three type of quota: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is the limit actually enforced?
### Security | ||
|
||
- Communication layer security can be ensured by TLS. | ||
- SST do not do any encryption, only do encrypt on backup. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can have encryption-at-rest for the whole DB, with encryption key managed by us, just that user provided encryption key is not supported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we can decide "not support user-provided encryption key", but the PM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Support or not will impact the way we store data.
We deduct the quota after serving the tenant's request, | ||
When tenant's quota deducted to zero, we stop serving the request and returns an error. | ||
|
||
Every tenant has a total quota, PD is responsible to divide the total quota to each KV node that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quotas without scheduling means under-utilization when some tenants are not using their full quota (and other tenants could be bursting to use those resources).
No description provided.