Senior Track Roadmap

Future: edge database

This course examines the claim that an edge database will make an application faster. It starts from the speed of light in fiber, about 200 km per millisecond, and uses it to compute round-trip floors. It shows why the number of sequential queries outweighs distance. It then explains why reads move near users easily while writes need a primary, and what breaks when writes are far. It closes with the categories of product on offer, the two cases where an edge database fits, and an ordered plan for a Rails team.

What you'll learn

  • ✓Computing round-trip floors from the speed of light in fiber
  • ✓Counting the longest chain of dependent queries in a request
  • ✓Why reads scale with copies and writes scale with agreement
  • ✓Read-after-write, sessions, uniqueness and open transactions when writes are far
  • ✓Three categories of edge database and what each one charges
  • ✓An ordered list of steps for a Rails team
Free preview · Lesson 1 4 min read

The pitch and the physics

Someone forwards a link in the engineering channel and writes "we should move to an edge database". The page they linked is good. It talks about putting your data close to your users, and it isn't lying about anything.

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...