Mixed Choice in Asynchronous Multiparty Session Types
Laura Bocchi, Raymond Hu, Adriana Laura Voinea, Simon Thompson
摘要
We present a multiparty session type (MST) framework with asynchronous mixed choice (MC). We propose a core construct for MC that allows transient inconsistencies in protocol state between distributed participants, but ensures all participants can always eventually reach a mutually consistent state. We prove the correctness of our system by establishing a progress property and an operational correspondence between global types and distributed local type projections. Based on our theory, we implement a practical toolchain for specifying and validating asynchronous MST protocols featuring MC, and programming compliant gen_statem processes in Erlang/OTP. We test our framework by using our toolchain to specify and reimplement part of the amqp_client of the RabbitMQ broker for Erlang.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Statically verified refinements for multiparty protocols
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Complete Multiparty Session Type Projection with Automata
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 A multiparty session typing discipline for fault-tolerant event-driven distributed programming
- Top-Down = Bottom-Up: Sound and Complete Characterisations of Liveness by Multiparty Global Protocols 引用了 Separation and Encodability in Mixed Choice Multiparty Sessions
- Complete Multiparty Session Type Projection with Automata 引用了 A multiparty session typing discipline for fault-tolerant event-driven distributed programming
- Separation and Encodability in Mixed Choice Multiparty Sessions 引用了 Complete Multiparty Session Type Projection with Automata
引用它的顶会 Paper1
它引用的 Paper6
- Statically verified refinements for multiparty protocolsFangyi Zhou, Francisco Ferreira, Raymond Hu, Rumyana Neykova 等OOPSLA 2020 · 38 次引用
- Complete Multiparty Session Type Projection with AutomataElaine Li, Felix Stutz, Thomas Wies, Damien ZuffereyCAV 2023 · 17 次引用
- A multiparty session typing discipline for fault-tolerant event-driven distributed programmingMalte Viering, Raymond Hu, Patrick Eugster, Lukasz ZiarekOOPSLA 2021 · 13 次引用
- Separation and Encodability in Mixed Choice Multiparty SessionsKirstin Peters, Nobuko YoshidaLICS 2024 · 10 次引用
- Validating IoT Devices with Rate-Based Session TypesGrant Iraci, Cheng-En Chuang, Raymond Hu, Lukasz ZiarekOOPSLA 2023 · 4 次引用
相关 Paper
- Hybrid Multiparty Session Types: Compositionality for Protocol Specification through Endpoint ProjectionLorenzo Gheri, Nobuko YoshidaOOPSLA 2023 · 5 次引用
- Mixtris: Mechanised Higher-Order Separation Logic for Mixed Choice Multiparty Message PassingJonas Kastberg Hinrichsen, Iwan Quémerais, Lars BirkedalOOPSLA 2026
- Speak Now: Safe Actor Programming with Multiparty Session TypesSimon Fowler, Raymond HuOOPSLA 2026
- Zooid: a DSL for certified multiparty computation: from mechanised metatheory to certified multiparty processesDavid Castro-Perez, Francisco Ferreira, Lorenzo Gheri, Nobuko YoshidaPLDI 2021 · 25 次引用
- Multris: Functional Verification of Multiparty Message Passing in Separation LogicJonas Kastberg Hinrichsen, Jules Jacobs, Robbert KrebbersOOPSLA 2024 · 6 次引用
