~/talk

Blockchain node DB designs: from Geth to Erigon

Talkat Protocol Berg 2023 · on Friday, 2023-09-15· [databases, nodejs]
links:none on file
slides:none on file

Erigon abandons live Merkle trees in the hot path and stores accounts and storage as flat key-value storage, then computes roots in a separate merkleization stage so execution is faster and commitments can be re-generated or upgraded. Engineering choices include bitmaps and dupsort subtables for compact history, and an ETL external-merge-sort step to reduce write amplification, cutting archival full-sync from roughly seven days to about 30 hours. MDBX is chosen to hold multi-terabyte archives reliably with transactional safety.

AI-written summary · about

  1. 0:00Introduction to node storage
  2. 2:38Ethereum node architecture
  3. 4:08State database fundamentals
  4. 6:42Optimizing storage at Aragon
  5. 11:28Advanced engineering hacks
  6. 12:19Choosing a database engine
  7. 15:49ETL frameworks and sort order
  8. 18:22Future roadmap and snapshots
  9. 20:08Q&A and performance metrics
~/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.