Conference paper
Cite …

ReP2P Matrix: Decentralized Relays to Improve Reliability and Performance of Peer-to-Peer Matrix

Benjamin David Schichtholz ORCID iD icon 1, Roland Bless ORCID iD icon 1, Florian Jacob ORCID iD icon 2, Hannes Hartenstein 2 and Martina Zitterbart 1
1 Institute of Telematics (TM), Karlsruhe Institute of Technology (KIT)
2 Karlsruhe Institute of Technology (KIT)
DOI: 10.5445/IR/1000175264
Publisher's version published on Oct 17, 2024
CC BY 4.0
Abstract

Matrix is a decentralized middleware for low-latency group communication, most renowned for its use in the Element instant messenger. Proposals for peer-to-peer (P2P) Matrix architectures aim to decentralize the current architecture further, which is based on federated servers. These proposals require that the receiver and the originator, or another peer that already successfully received the message, are simultaneously online. We introduce relay-enhanced P2P Matrix (ReP2P Matrix) in order to improve message delivery between peers that are online at different times. The design maintains the advantages of P2P Matrix and integrates well into it, e.g., it reuses existing mechanisms for authentication and authorization. Using an extended real-world group messaging traffic dataset, we evaluate ReP2P Matrix by comparing it to P2P Matrix without relays. The results show that relays do not only improve reliability in message delivery, but also increase the share of low delivery latencies by 50 % points in groups with up to 30 members.