Erik is a Staff Engineer at Element and a member of the Matrix.org Foundation’s Spec Core Team, for servers. Erik has worked on Synapse since 2014, from its early releases to the 2020 work that let it scale horizontally across multiple processes. At FOSDEM 2025, Erik gave the State of Synapse talk, on supporting Matrix 2.0 and using Rust to fix Synapse’s performance bottlenecks.

Posts

  • Implementation

    How we fixed Synapse’s scalability!

    Since Synapse 1.22, Synapse scales horizontally across multiple Python processes, and messages no longer need to flow through the main process. This came from moving writes off the main process, using Redis pub/sub between workers, and sharding the events stream across several event persisters with a vector clock of positions. On the Matrix.org homeserver, a second event persister brought send times down to 50ms or less for most messages and balanced CPU between the two workers.

    By Matthew Hodgson and Erik Johnston

Elsewhere