Ash FrameworkAF
Ash Framework3y ago
3 replies
frankdugan3

Multi-Location + Multi-Tenant Read Replica

So we have a fairly complex requirement that we are hoping to solve via schema-based multi-tenancy and PG read replicas. As you can see from the diagram, we want to host the app in the cloud + 2 onsite locations matched to tenants. We would like to leverage read replicas to enable shared reads & local tenant writes in the event of internet/power outages at one of the on-site locations.

Are there any immediately obvious problems with this idea, or does it seem feasible?
pakoeNqVks9ugzAMxl8F-UxREiiE3Lb1CVoO08TFIlmLxj9lIK0D3n2m2uhK1WrLyf7in784SQ9ZrQ0oMHaT495imVYOrRSeirrTzkPTpOAMw2o1DLO4eSRNUbo7oDU6hf8wW4Pa2ZqmyDOcyJlNrsDkTFGcmAqr9pfZXeCWTfK8pEiZKYqXNveBm9Och75xvBPSmuXlXSKXVtdI8rd6cKE0tsRc00v3E51CezAlbU2VGu3b1HSkOuzaenesMlCt7YwLXaOpxfffAPWKxTupDVYvdV3-FFEKqocPUL7gns_XcSADGfpCcheOoLiUXhRHUgomGYskF6MLn6cGzAsFiwUP-JqAMGRy_AImcL-S.png
Was this page helpful?