You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Every so often, my synapse goes off and spends a couple of hours spinning at 100% CPU. Investigation reveals that it is mostly spending that time processing /federation/v1/event/ requests - basically some other server in the federation starts hammering it for a load of events.
There are two questions here:
why are other servers hammering it?
it seems surprisingly expensive to serve the request. The CPU times are quite variable but some of them are over 200ms per request - which takes a while when there are tens of thousands of requests.