Distributed Database
Distributed Database
DATABASE
BY- A.THEERAN
V.VIRAJESHNITHIN
What is a Distributed Database
A distributed database is a database that runs and stores data
across multiple computers, as opposed to doing everything on a
single machine.
In active-active configurations, there are multiple active replicas, and traffic is routed to all of
them. This reduces the potential impact of a replica being offline, since other replicas will handle
the traffic automatically.
Active-active setups are much more difficult to configure for most workloads, and it is still
possible for consistency issues to arise if an outage happens at the wrong time.
At the end of this sequence, we have an inconsistency: A says xyz = 123 and B says xyz = 456.
While such a scenario is not common, inconsistencies like this one have the potential to cause a
lot of trouble when they do happen, so active-active setups must be configured and tested very
carefully to attempt to mitigate this risk.
Multi-Active