Mria: an eventually consistent MnesiaRemote
Mnesia, an Erlang distributed database, serves as an embed- ded storage and replication layer for OTP applications re- quiring low read latency and high availability. EMQX is a publish-subscribe message broker supporting the MQTT pro- tocol that uses Mnesia to replicate its internal state across the cluster. We analyze the limitations of Mnesia’s replica- tion protocol scalability in large clusters under high load. To address these limitations, we developed Mria, an extension to the Mnesia database that provides eventual consistency within a cluster and achieves better horizontal scalability. We validated Mria using a variety of testing techniques, in- cluding model checking, chaos engineering, and formal veri- fication. Replacing Mnesia with Mria allowed us to scale the EMQX cluster to 23 nodes, handle 100 million simultaneous client sessions and achieve a higher sustained load.
Mon 4 SepDisplayed time zone: Pacific Time (US & Canada) change
14:00 - 15:30 | |||
14:00 45mTalk | Invited Talk: Set-theoretic Types for Erlang Erlang Albert Schimpf University of Kaiserslautern-Landau, Stefan Wehr Offenburg University of Applied Sciences, Annette Bieniusa University of Kaiserslautern-Landau Link to publication DOI Authorizer link Pre-print | ||
14:45 30mTalk | Mria: an eventually consistent MnesiaRemote Erlang Dmitrii Fedoseev , Serhii Tupchii EMQ Technologies, Thales Macedo Garitezi EMQ Technologies, Zaiming Shi EMQ Technologies | ||
15:15 15mTalk | Lightning Talk: Towards Mailbox Typing for Erlang Erlang Simon Fowler University of Glasgow |