Catalogue / matrix-2017-homeserver-load-problems

Growing traffic turned client resyncs and long deletes into outages of the Matrix.org homeserver, limited by its database disks

Matrix.org, 2017. Matrix.org homeserver.

Organisation
Matrix.org
Evidence
Incident report
Source
Load problems on the Matrix.org homeserver

Matrix.org blog, published 2017-02-17

Records

Failure#f1

An unusual event made several hundred mobile clients resync a large room at once and overloaded the server

Failure#f2

Requests piled up behind four long deletes until Synapse ran out of file handles, and nobody was paged

Decision#d1

Evaluate SSD-backed hardware for the database, with a move planned if tests pass, as Synapse optimisation yields less

Decision#d2

Leave Synapse unclustered and build a new homeserver designed for clustering

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.