BM
Bashar ModallalSOFTWARE · AI · SYSTEMS
All courses

NoSQL and Distributed Data Modeling

Choose data models by the reads, writes and consistency guarantees that a product catalog needs.

Beginner

  1. Start with Access Patterns

    Write the three most important catalog queries and compare key-value, document, wide-column and graph models.

    Upcoming lesson
  2. Build a Cart in a Key-Value Store

    Design Redis keys, expiry and atomic updates for a shopping cart that survives repeat requests.

    Upcoming lesson
  3. Model Products as Documents

    Compare embedding and referencing product variants as their size and update frequency change.

    Upcoming lesson

Intermediate

  1. Index a Document Collection

    Support a catalog filter with a compound index and verify how many documents each query examines.

    Upcoming lesson
  2. Design a Wide-Column Event Table

    Choose a partition key, clustering order and time bucket for an account activity feed.

    Upcoming lesson
  3. Use Graph Traversals for Relationships

    Model products and buyers as a graph and bound the cost of a two-hop recommendation query.

    Upcoming lesson

Advanced

  1. Read Your Writes Across Replicas

    Follow a profile update across replicas and choose the consistency guarantee the next screen requires.

    Upcoming lesson
  2. Diagnose a Hot Partition

    Compare two partition keys against skewed traffic and prove whether bucketing spreads a popular product’s load.

    Upcoming lesson
  3. Evolve Documents Without a Stop-the-World Rewrite

    Mix two document shapes safely, backfill in batches and measure when old readers can be retired.

    Upcoming lesson

Expert

  1. Resolve Conflicting Offline Edits

    Merge a disconnected cart and compare last-write-wins, application merge rules and a conflict-free counter.

    Upcoming lesson
  2. Rebuild a Search Projection from Changes

    Combine a snapshot and change stream, resume from a checkpoint and detect a missing catalog update.

    Upcoming lesson
  3. Capstone — Pick a Store for a Flash Sale

    Compare two designs using a workload replay, a replication delay and a cost estimate for the busiest hour.

    Upcoming lesson