# Replication Strategies

> Compare synchronous and asynchronous database replication. What are the trade-offs, and what sits in between?

Canonical: https://www.internhack.in/learn/interview/database-design/db-replication-master-slave
Last updated: 2026-11-28

Difficulty: Intermediate

## Question

Compare synchronous and asynchronous database replication. What are the trade-offs, and what sits in between?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Primary-Replica, Synchronous Replication, Asynchronous Replication, Semi-Synchronous, Replication Lag, Failover

Previous: [Database Sharding](https://www.internhack.in/learn/interview/database-design/db-sharding-patterns) · Next: [Referential Integrity](https://www.internhack.in/learn/interview/database-design/db-foreign-key-constraints) · [All of Database Design](https://www.internhack.in/learn/interview/database-design)

## More Database Design questions

- [Composite Keys](https://www.internhack.in/learn/interview/database-design/db-composite-primary-key)
- [Stored Procedures](https://www.internhack.in/learn/interview/database-design/db-stored-procedures-pros-cons)
- [Denormalization](https://www.internhack.in/learn/interview/database-design/db-denormalization-use-case)
- [Views vs. Materialized Views](https://www.internhack.in/learn/interview/database-design/db-view-vs-materialized-view)
- [Concurrency Control](https://www.internhack.in/learn/interview/database-design/db-optimistic-vs-pessimistic-locking)
- [B-Tree vs Hash Index](https://www.internhack.in/learn/interview/database-design/db-btree-vs-hash-indexing)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Database Design](https://www.internhack.in/learn/interview/database-design)
