Build systems—DSA, System Design, Workflows & more.
DB

Databases

SQL, NoSQL, modeling

Databases

Choosing and modeling data storage.

  • Relational: ACID, joins, transactions—use when consistency and relations matter.
  • NoSQL: document, key-value, wide-column—scale and flexibility.
  • Indexing: B-trees, composite indexes, covering indexes.
  • Replication: leader-follower, multi-leader, conflict resolution.
  • Sharding: partition key, hot spots, rebalancing.

Match the database to the access pattern and consistency needs.