~/talk

Planning for scale: How Materialize uses

Talkat RoachFest 2023 · 2023-10-03..10-04· [databases]
links:none on file
slides:none on file

Materialize moves its metadata and consensus layer onto CockroachDB to get strong consistency with single-digit millisecond latencies. Cockroach outperforms DynamoDB (10–20 ms reads) and avoids RDS/Aurora connection caps, running a 6-node cluster (8 vCPU, 32 GB) that sustains ~2,000 outstanding connections and ~2,000 inserts/sec. Consensus uses a shard_id + auto-increment sequence number table and a tuned SQL pattern to hit Cockroach’s one-phase commit fast path (two network trips); GC interval set to 10 minutes to keep reads fast.

AI-written summary · about

  1. 0:00Welcome/Agenda
  2. 0:52What is Materialize?
  3. 1:35What are the key properties of Materialize?
  4. 1:57Transitioning to a cloud-native product
  5. 3:02Planning and development
  6. 3:40CockroachDB vs FoundationDB, Amazon RDS, Aurora, Dynamo DB for metadata layer
  7. 5:36What does Materialize use CockroachDB for?
  8. 8:01Materialize's high-level cloud architecture
  9. 8:48Design partnership with Cockroach Labs
  10. 9:30Going into production and what the future looks like
  11. 11:01How to optimize performance on CockroachDB
  12. 13:01Final thoughts
~/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.