3 ms·
active/active? curious what the data stack looks like as that tends to be the hard part
by zild3d 1y ago
active/active? curious what the data stack looks like as that tends to be the hard part
- mlhpdx 1y agoThe data layer is DynamoDB with Global Tables providing replication between regions, so we can write to any region. It's not easy to get this right, but our use case is narrow enough and rate of change low enought (intentionally) that it works well. That said, it still isn't clear that replication to us-east-1 would be perfect so we did "diff" tables just to be sure (it has been for us). There is some S3 replication as well in the CI/CD pipeline, but that doesn't impact our customers directly. If we'd seen errors there it would mean manually taking Virginia out of the pipeline so we could deploy everyehere else.
- zild3d 1y agocool thanks, we've been considering dynamo global tables for the same. We have S3 replication setup for cold storage data. For primary/hot DB there doesn't seem to be many other options for doing local writes
- rstupek 1y agoSo your global tables weren't impacted in us-east-1... I thought I read their status showed issues with global table replication
- mlhpdx 1y agoOur stacks in us-east-1 stopped getting traffic when the errors started and we’ve kept them out of service for now, so those tables aren’t being used. When we manually checked around noon (Pacific) they were fine (data matched) but we may have just gotten lucky.