~/talk

Smarter Contract Upgrades with Orthogonal Persistence

Talkat VMIL 2024 · on Sunday, 2024-10-20· [smart-contracts, blockchain]
links:none on file
links:none on file
links:none on file
slides:none on file

Implements orthogonal persistence for Motoko on the Internet Computer by adding a stable heap, 64-bit Wasm memory, and an incremental GC so program heap (up to ~400 GB per component) survives upgrades. Upgrades run a constant-time type-table compatibility check (~10k instructions) instead of serializing the heap, enabling fast, safe implicit migrations and custom migration hooks. Benchmarks show orders-of-magnitude lower instruction cost and much faster data access than prior serialization and Rust stable-data-structure approaches.

AI-written summary · about

  1. 0:00Blockchain programming intro
  2. 1:26Upgrading blockchain programs
  3. 4:14Traditional memory models
  4. 6:21Orthogonal persistence
  5. 8:30Motoko and Internet Computer
  6. 9:34Simple Motoko example
  7. 10:17Upgrading with data migration
  8. 13:49Implicit vs custom migration
  9. 15:56Persistence implementation
  10. 19:27Garbage collection in upgrades
  11. 21:53Memory compatibility checks
  12. 22:35Performance comparison
  13. 24:01Performance benefits
  14. 26:50Summary of improvements
  15. 27:59Q&A: Actor concurrency
  16. 29:50Q&A: Data migration
~/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.