All courses
· intermediate

NoSQL and Caching Stores

When a relational database is the wrong shape, and when it is not. Document stores and what you give up for flexibility, key-value caches and the invalidation problem, and why most teams reach for these too early.

Pathaxis · Original content

Written in house, from the work rather than from a syllabus. Every example is one we would use ourselves, and every quiz question explains why its answer is right.

83 min 6 lessons 15 quiz questionsStart course

What you’ll learn

  • Say what a document store gives you and what it takes away
  • Decide between embedding and referencing from the access pattern
  • Explain eventual consistency in terms of what a user would see
  • Add a cache with a deliberate expiry and invalidation strategy
  • Recognise a cache stampede and prevent it
  • Use a key-value store for the jobs it is genuinely best at

Before you start

  • · SQL Foundations and Database Design
  • · Backend Foundations, or equivalent

Syllabus

03

Choosing

What each store is actually for.