by slau · 2y ago · 0 comments
They claim 99.99% availability or whatever the figure is, that it’s self healing, allows up to 2 replicas to be down for write availability and 3 replicas to be down for read availability. They promise “millisecond consistency”, whatever that even means.
Some of the blogs mention that they use distributed state to extract slivers of consistency across the nodes, which is just scary stuff to hear.
I’m seeing more and more usage of Aurora due to the magical component it offers, but I can’t wrap my head around what it’s actually supposed to be, and what the failure model is, like I can with RDS PG and MySQL.
They do actually provide quite a lot of detail about Aurora storage this works. This 2019 reinvent talk gets pretty deep into the weeds.
https://www.youtube.com/watch?v=uaQEGLKtw54
https://d1.awsstatic.com/events/reinvent/2019/REPEAT_Amazon_...
https://cloud.google.com/blog/products/databases/inside-clou...
CP means you can’t be available, meaning your system will stop replying to queries.
AP means you’re always available, but you could receive stale data when querying.
It’s irrelevant whether it’s a single binary running on EC2 or a billion services working in unison. It’s a property of the system.