- Más nuevo
- Más votos
- Más comentarios
Hi,
All possible options with multi-tenancy in DynamoDB are extremely well-detailled in this whitepaper: https://docs.aws.amazon.com/pdfs/whitepapers/latest/multi-tenant-saas-storage-strategies/multi-tenant-saas-storage-strategies.pdf#multitenancy-on-dynamodb
You should probably read it in full details to determine which proposed architecture best fits your needs.
Best,
Didier
A bit more detail about your schema is required to give an answer with the appropriate information. However, something to consider:
If the client is doing a PutItem
call then that call replaces the item in the database. Multiple clients doing that will overwrite each others changes and that is probably undesirable.
One solution is to use UpdateItem
and update specific attributes. There is still a risk where clients can overwrite each other's changes but that might not be an issue - depending on your schema.
An alternative is to have each client update different items. That may work for you - but it depends on your schema.
There are probably other ways to design this as well but it's not possible to say given the information available.
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 2 años