~/talk

Mria - an eventually consistent Mnesia

Talkat Code BEAM Lite Stockholm 2023 · on Friday, 2023-05-12· [databases, elixir-and-erlang]
links:none on file
slides:none on file

Mria adds eventual consistency to Mnesia and replaces full synchronous replication with a hybrid core/replicant design that shifts writes to a few core nodes while replicants subscribe to an intercepted transaction log. It reports running EMQX clusters of 20+ nodes, 100 million simultaneous clients, 50 million unique topics and keeps reads local for low latency. Testing combines lock-free Erlang and Concuerror model checking with fault injection and trace-based backfill verification; a small OTP hook intercepts post-commit transactions and bootstrap replay makes restarted replicas converge.

AI-written summary · about

  1. 0:00Mria project intro
  2. 1:49Mnesia fits EMQX use case
  3. 2:51MQTT basics and challenges
  4. 5:44Mnesia write performance
  5. 6:50Mnesia replication protocol
  6. 9:40Mnesia commit flaws
  7. 12:07Mria hybrid architecture
  8. 16:22Consistency vs performance
  9. 17:25Bootstrapping replicants
  10. 20:56Replicant state machine
  11. 22:01Key takeaways
~/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.