- Regional placement. You may want to place individual tenants (customers) in different regions in the world for compliance or latency reasons.
- Infrastructure placement. You may want to place tenants in a multitenant or dedicated infrastructure. The decision for this will depend on the customer needs, cost and level of isolation needed. Nile plans to support both types of placements. This feature is in progress and we would love to hear from you on our Github discussion forum or Discord community.
Regional placement
We wanted to make global placements really easy while abstracting all the hard parts to manage them. We would support the ability to locate a tenant in any location globally while creating the tenant. We hope to also support the ability to move tenants from one location to another with a simple update statement to the region of the tenant. This will probably come after we support placement during creation. The Nile SDK will seamlessly route to where the tenant is located. The shared tables (check ‘Sharing Tenants’ section) will be accessible across all the tenants irrespective of where the tenant is located.Infrastructure placement
A very common pattern with SaaS is to control what infrastructure are specific customers placed. There are many reasons to do this. A customer might explicitly want their data to be placed in an isolated database for security reasons, the tenant could be a critical customer for the business or your isolation strategy could be to simple place every tenant in a dedicated database. Placing a tenant on a dedicated mode. The default instance would be used in this case.id | name | region | deployment_mode | status | created | updated | deleted |
---|---|---|---|---|---|---|---|
018ac98e-b37a-731b-b03a-6617e8fd5266 | customer1 | aws-us-east1 | dedicated | provisioning | 2023-09-24 23:38:07.097633 | 2023-09-24 23:38:07.097633 |
id | name | region | deployment_mode | status | created | updated | deleted |
---|---|---|---|---|---|---|---|
018ac98e-b37a-731b-b03a-6617e8fd5266 | customer1 | aws-us-east1 | dedicated | ready | 2023-09-24 23:38:07.097633 | 2023-09-24 23:38:07.097633 |