A Comparative Performance Study of the Matrix /sync Endpoint on Synapse and Tuwunel

  • Windson Viana UFC
  • Francisco Airton Silva UFPI
  • Francisco A. A. Gomes UFC
  • Michel Sales UFC
  • Roberto Ivo UFC
  • Fernando A. M. Trinta UFC
  • Rossana M. de C. Andrade UFC
  • José A. F. de Macêdo UFC
  • Vinícius Lagrota CEPESC
  • Rodrigo Pacheco CEPESC
  • Paulo A. L. Rego UFC

Abstract


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.

References

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.
Published
2026-05-25
VIANA, Windson et al. A Comparative Performance Study of the Matrix /sync Endpoint on Synapse and Tuwunel. In: BRAZILIAN SYMPOSIUM ON COMPUTER NETWORKS AND DISTRIBUTED SYSTEMS (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.

Most read articles by the same author(s)

<< < 2 3 4 5 6 7 8 > >>