W1W2W3W4W5W6W7W8

Lessons

Week 1Project setup and rate limiting0/24
Week 2Restaurants and menus with MySQL0/20
Week 3Authentication, orders and Kafka events0/20
Week 4Customer application with Expo0/18
Week 5Live order tracking and rider management0/14
Week 6Performance, caching and load testing0/14
Week 7Deployment and production operations0/14
Week 8Advanced features and project documentation0/8
ReviewQuiz questions that are due
ResourcesReading list, by week

atomic.Pointer

A generic pointer from sync/atomic whose Load and Store are safe across goroutines. Build a new immutable value off to the side, then Store it; readers that already loaded the old value keep using it.

Minimal example

go
var cur atomic.Pointer[Index]
cur.Store(next)
idx := cur.Load()

Learn this concept

Lesson 2.16 · Background refresh with atomic.Pointer

Used in exercises

Exercise 2.17 · GET /v1/restaurants: open status
RelatedData raceGoroutine lifecycle