top | item 33736129

(no title)

ozzythecat | 3 years ago

If one tenant misbehaves and takes down your database, how will your other tenants feel?

discuss

order

shahinghasemi|3 years ago

What misbehaving do you mean? If traffic is what you mean, it's okay since at the first stage of the software we have time to test/scale accordingly. Therefore in that stage it might make sense to change the architecture to per-tenant database.

ozzythecat|3 years ago

One tenant sends you a flood of traffic, that you might not be scaled to handle. Let’s say your application servers are scaled for this traffic, but your single, shared database is not. All that traffic could cause an outage on your database. If this happens, the impact won’t necessarily be on one tenants but all tenants.

There are ways you can mitigate this. Strong isolation is one. Throttling tenant calls could be another.

We don’t know your specific use case enough, but it’s something to think about now.

This is generally referred to as the noisy neighbor problem.

https://docs.aws.amazon.com/wellarchitected/latest/saas-lens...