Skip to content
Snippets Groups Projects
Verified Commit 650e8a12 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

feat(matrix): Add dashboard to further analyse the synapse mystery

After digging a bit deeper into the data, it's clear that there is a
correlation between large volume of DNS requests and the `GET` requests
to the `_matrix` route.

When these slow down, the DNS requests suddenly also disappear. It's
noteworthy, that `PUT` requests (means incoming Events), remain
unchanged.

The potential releation became apparent, when on 2022-04-30 during the
evening hours, there is a 21:30 to 01:55 CEST time window where this
correlation becoming apparant.

The `GET` request can be more drilled down using the Synapse Dashboard
to be `SyncRestServlet` requests. These requests are client requests, to
keep the client state up-to-date and active and explains the lack of
requests for a few hours, when Element Desktop was shut down.

This needs some further drill down into Synapse's internals to figure
out exactly what causes these mass request, but `presence` is a good
contender.

References:
https://github.com/matrix-org/synapse/blob/0922462fc7df951e88c8ec0fb35e53e3cd801b76/synapse/rest/client/sync.py#L52
https://github.com/matrix-org/synapse/tree/8d156ec0ba17d848581f18aa40ebfd76dda763d4/contrib/grafana
parent 8bdf1ae6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment