ICFP 2023
Mon 4 - Sat 9 September 2023 Seattle, Washington, United States
Mon 4 Sep 2023 14:45 - 15:15 at Adams - Erlang Workshop: Session 2 Chair(s): Kiko Fernandez-Reyes

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 Sep

Displayed time zone: Pacific Time (US & Canada) change

14:00 - 15:30
Erlang Workshop: Session 2Erlang at Adams
Chair(s): Kiko Fernandez-Reyes Ericsson, Sweden
14:00
45m
Talk
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
30m
Talk
Mria: an eventually consistent MnesiaRemote
Erlang
Dmitrii Fedoseev , Serhii Tupchii EMQ Technologies, Thales Macedo Garitezi EMQ Technologies, Zaiming Shi EMQ Technologies
15:15
15m
Talk
Lightning Talk: Towards Mailbox Typing for Erlang
Erlang
Simon Fowler University of Glasgow