SQL, NoSQL and Beyond
summary
Covers three specific systems: PostgreSQL, Redis and CouchDB, with concrete tradeoffs and examples. Claims PostgreSQL often outperforms MySQL in benchmarks and shows features that matter: JSONB columns, RETURNING to avoid last_insert_id, UUID primary keys, CTEs and window functions used for real aggregation. Shows Redis as an in‑memory cache/queue/session store (expire keys in seconds, sorted sets for leaderboards), warns about non‑durability. Describes CouchDB’s HTTP API, two‑way replication, deterministic conflict resolution and MapReduce views that precompute results.
AI-written summary · about
chapters (15)
- 0:00Introduction and speaker background
- 1:10Why databases matter in development
- 3:44Postgres as a relational database
- 8:17Postgres features and data types
- 12:50Postgres indexes and performance
- 15:22Postgres advanced features
- 21:17Redis as an in-memory key-value store
- 24:48Redis data types and commands
- 30:36Redis queues and pub/sub
- 35:35CouchDB as a document database
- 37:04CouchDB HTTP interface and JSON
- 41:18CouchDB CRUD operations and revisions
- 43:27CouchDB replication and conflict resolution
- 47:22CouchDB MapReduce and views
- 55:58Summary and resources
