Skip to main content

Databases & Storage

Every application needs to store data somewhere. The decisions you make about where and how have massive implications for performance, cost, and reliability.
This section is a work in progress. Content is being actively developed.

Topics to Be Covered

  • SQL vs NoSQL — when to use which
  • Relational databases (PostgreSQL, MySQL, SQLite)
  • Document databases (MongoDB, Firestore)
  • Key-value stores (Redis, DynamoDB)
  • Database design and data modeling
  • Writing queries (SQL basics)
  • Indexes and query performance
  • Migrations and schema evolution
  • ORMs vs raw queries
  • Connection pooling and management
  • Backups and data durability
  • File and blob storage (S3, cloud storage)
  • Caching strategies