A Comparative Performance Study of the Matrix /sync Endpoint on Synapse and Tuwunel
Resumo
Matrix is an open protocol for federated communication, primarily implemented by the Synapse server, with Tuwunel as an alternative. Client–server interaction relies on the synchronization (sync) mechanism, which delivers events and updates throughout the application lifecycle. This paper presents a controlled experimental comparison of Synapse and Tuwunel based on nearly 17,000 sync requests under increasing load and different filtering strategies. Results show that Tuwunel achieves lower response times in three of four configurations, but it does not yet support Simplified Sliding Sync (SSS) correctly. SSS on Synapse delivers the lowest latency across the evaluated settings. We also report saturation and resource trends under increasing load.Referências
Albrecht, M. R., Celi, S., Dowling, B., and Jones, D. (2023). Practically-exploitable cryptographic vulnerabilities in matrix. In 2023 IEEE Symposium on Security and Privacy (SP), pages 164–181. IEEE.
Jacob, F., Beer, C., Henze, N., and Hartenstein, H. (2021). Analysis of the matrix event graph replicated data type. IEEE access, 9:28317–28333.
Jacob, F., Grashöfer, J., and Hartenstein, H. (2019). A glimpse of the matrix (extended version): Scalability issues of a new message-oriented data synchronization middleware. arXiv preprint arXiv:1910.06295.
Martins, J. A., Rego, P. A., de Macêdo, J. A., Silva, F. A., and Lagrota, V. (2026). Matrix protocol: a comprehensive systematic mapping study. Journal of Cloud Computing, 15(1):20.
Martins, J. A. P., Rego, P. A. L., Macêdo, J. A. F. d., Andrade, R. M. C., Bonfim, M. S., Ivo, R. F., Costa, V. L. R. d., Pacheco, R. P., and Silva, F. A. P. d. (2025). Protocolo matrix: Conceitos, arquitetura, aplicações e desafios. In Jornada de Atualização em Informática 2025. SBC, Porto Alegre, RS, Brasil.
Müller, M., Lee, J.-U., Frick, N., Stangier, L., Gurevych, I., and Metternich, J. (2021). Extracting problem related entities from production chats to enhance the data base for assistance functions on the shop floor. Procedia CIRP, 103:231–236.
Stocker, V., de Camargo, E. T., and De Bona, L. C. (2025). Uma investigação sobre tolerância a falhas no servidor de comunicação synapse. In Workshop de Testes e Tolerância a Falhas (WTF), pages 57–70. SBC.
Jacob, F., Beer, C., Henze, N., and Hartenstein, H. (2021). Analysis of the matrix event graph replicated data type. IEEE access, 9:28317–28333.
Jacob, F., Grashöfer, J., and Hartenstein, H. (2019). A glimpse of the matrix (extended version): Scalability issues of a new message-oriented data synchronization middleware. arXiv preprint arXiv:1910.06295.
Martins, J. A., Rego, P. A., de Macêdo, J. A., Silva, F. A., and Lagrota, V. (2026). Matrix protocol: a comprehensive systematic mapping study. Journal of Cloud Computing, 15(1):20.
Martins, J. A. P., Rego, P. A. L., Macêdo, J. A. F. d., Andrade, R. M. C., Bonfim, M. S., Ivo, R. F., Costa, V. L. R. d., Pacheco, R. P., and Silva, F. A. P. d. (2025). Protocolo matrix: Conceitos, arquitetura, aplicações e desafios. In Jornada de Atualização em Informática 2025. SBC, Porto Alegre, RS, Brasil.
Müller, M., Lee, J.-U., Frick, N., Stangier, L., Gurevych, I., and Metternich, J. (2021). Extracting problem related entities from production chats to enhance the data base for assistance functions on the shop floor. Procedia CIRP, 103:231–236.
Stocker, V., de Camargo, E. T., and De Bona, L. C. (2025). Uma investigação sobre tolerância a falhas no servidor de comunicação synapse. In Workshop de Testes e Tolerância a Falhas (WTF), pages 57–70. SBC.
Publicado
25/05/2026
Como Citar
VIANA, Windson et al.
A Comparative Performance Study of the Matrix /sync Endpoint on Synapse and Tuwunel. In: SIMPÓSIO BRASILEIRO DE REDES DE COMPUTADORES E SISTEMAS DISTRIBUÍDOS (SBRC), 44. , 2026, Praia do Forte/BA.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2026
.
p. 1-14.
ISSN 2177-9384.
DOI: https://doi.org/10.5753/sbrc.2026.19722.
