Logo

Pasted image 20240915144026.png

Setting up multiple backups or nodes for servers or DBs in cause of a failure at any point.
These basically make use of Sharding Databases

There are many architectural patterns possible:

  1. Master - Slave: Master DB does main R/W -> copy is made on replica (Slave DB)
  2. Master - Master: Any DB makes R/W -> copy is synced up on all other Master Systems\

Types of "Replicas"

When making copies of data, they can be classified on the basis of operations performed:

  1. Synchronous Copy:
    • Each time R/W occurs on DB -> await till replicas has stored that
    • Takes longer time, more load but assures Data consistency
  2. Asynchronous Copy:
    • Each time R/W occurs on DB -> just do async save on replica
    • Takes shorter time, less load but data can be inconsistent

© 2025 All rights reservedBuilt with DataHub Cloud

Built with LogoDataHub Cloud