Need to design a distributed HA (High Availability) solution in cloud. The backend resources should be distributed across multiple availability domains and fault domains (FD are sub-part of AD)in a way that we avoid skewness of resources. Is there a design/architecture pattern that can be followed to achieve this. Ex : Suppose we have 3 AD and each AD has 3 FD , and say we have 10 resources to distribute with the condition that if can't allocate in 1 FD move to other FD (fail-safe condition).
I tried allocating ADs directly to resources in a loop to uniformly distribute it. Ex : 8 Resource
AD1 (3)-> FD1 1 , FD2 1,FD3 1 AD2 (3)-> FD1 1 , FD2 1 , FD3 1 AD3 (2)-> FD1 1 , FD2 1 , FD3 1
But want some better solution to allocate with fail-safe method.
Aucun commentaire:
Enregistrer un commentaire