Dendrite: A Lighter Second-Generation Matrix Server
Dendrite is the Matrix homeserver written after the lessons of Synapse, in Go rather than Python.
Why it exists
Synapse is the reference implementation and it is resource-hungry: a homeserver for a handful of users joined to a few large federated rooms can consume gigabytes of memory and considerable CPU, because Matrix’s room state resolution is genuinely expensive.
Dendrite was built to address that, with a component architecture that can run as a single binary (monolith) or split into microservices.
For a small personal homeserver, Dendrite’s footprint is meaningfully smaller, which matters given current memory prices.
The honest caveat
Synapse remains the more complete and more widely deployed implementation. Dendrite has historically trailed on some features and on the long tail of federation edge cases, and the project’s development pace has varied.
So the choice is:
Synapse if you want the implementation everything is tested against, and you can afford the resources.
Dendrite if resources are the binding constraint and you accept a less-trodden path.
Conduit-family servers, including continuwuity and tuwunel already covered here, are the Rust alternatives occupying the same lightweight niche, and are currently where much of the energy is.
Check the current feature matrix rather than trusting any summary, this one included.
Running it
./dendrite-monolith-server --config dendrite.yaml
PostgreSQL for anything real, SQLite for testing. Our PostgreSQL guide covers the backend.
The reverse proxy configuration matters: Matrix needs /.well-known/matrix/server and /.well-known/matrix/client served from your base domain, and federation fails confusingly without them. Our reverse proxies guide covers the routing.
Operational caution
Joining a large federated room is the moment a homeserver gets expensive, regardless of implementation. State resolution for a room with thousands of servers is the dominant cost, and it is not proportional to your user count.
Media storage grows without bound unless you configure retention.
License
Dendrite is released under the Apache License 2.0.