~/talk

How We Saved 5x Migrating from Aurora to FoundationDB

links:none on file
links:none on file
slides:none on file

Segment migrates a Persona identity-resolution service from Aurora to FoundationDB and reports a 5x cost reduction while keeping serializable isolation and high read throughput. The data model uses direct key-value subspaces with mappings and merges (surrogate-object keys plus index ranges). Production runs on a heterogeneous three-tier cluster provisioned by Terraform and ECS; backups from S3 restore slowly for multi-TB datasets, chaos tests show graceful recovery, and remaining concerns include data distribution unpredictability and triple-replication across three AZs.

AI-written summary · about

  1. 0:00Intro
  2. 1:43What is CDI?
  3. 2:33Segment Timeline
  4. 3:18Identity Resolution Use Cases
  5. 3:29Problem
  6. 4:08Identity Graph
  7. 4:59General Data Model
  8. 5:41"Object" KV Kind
  9. 6:47Mapping Object
  10. 7:19Segment ID Index
  11. 7:48Merge Object
  12. 8:19Workload Profile Needs
  13. 9:18Personas Data Flow
  14. 10:47Aurora works, but...
  15. 11:17Some Baseline Aurora Costs
  16. 11:38Example Realistic Workload
  17. 12:58Tuning Cookbook
  18. 13:26Cluster Evolution
  19. 14:07Infrastructure Overview
  20. 15:18Terracode-foundationdb / cluster
  21. 15:55AMI Launch Config / User Data
  22. 16:30data.mount
  23. 16:44configure-fdb
  24. 17:28fdb-discovery
  25. 18:39fdb-backup
  26. 19:54Gameday & Chaos
  27. 22:22Exactly Once Delivery
  28. 23:23Dedupe Pros / Cons
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.