4 ms·
AWS uses heartbeats for detecting liveliness. If x heartbeats fail the failover procedure is started. Generally 10s - 5minutes. In practice (for me) the failove
by CaveTech 10y ago
AWS uses heartbeats for detecting liveliness. If x heartbeats fail the failover procedure is started. Generally 10s - 5minutes. In practice (for me) the failover has been less than 15s.
- macintux 10y agoMy concern was more around split brain. If you fail over while the write master is simply unreachable, pain results.
- edaemon 10y agoAurora's read replicas share the underlying storage that the primary uses, so AWS claims that there's no data loss on failover. They also claim -- and I've never heard anyone say they were wrong -- that Aurora failovers take less than a minute. So the pain should be limited to under a minute of lost writes, which most applications can handle (with an error). It can still be painful depending on the application. See here for more info: https://aws.amazon.com/rds/aurora/faqs/#high-availability-and-replication https://aws.amazon.com/rds/aurora/faqs/#high-availability-an...