{"repo":"maelstrom-rs/maelstrom","free":true,"listed":false,"github":"https://github.com/maelstrom-rs/maelstrom","clone":"git clone https://github.com/maelstrom-rs/maelstrom.git","description":"The Matrix homeserver for serious scale. Clusterable, highly available, horizontally scalable.","language":"Rust","stars":262,"topics":["matrix-org","matrix","chat","clustering","high-availability","homeserver","horizontal-scaling","matrix-homeserver","rust-lang","surrealdb"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"Maelstrom The open-source, enterprise-scale Matrix homeserver. Maelstrom is the only open-source Matrix homeserver built for horizontal scaling. It is a from-scratch Rust implementation with a stateless application layer, distributed graph storage via SurrealDB + TiKV, and true multi-instance clustering — no worker model, no per-process GIL limits, no single-database bottleneck. General discussion: #maelstrom-server:matrix.org Why Maelstrom Today's Matrix scaling options are limited: - Synapse (85% market share) scales via Python worker processes, each limited to one CPU core. At 40 events/second, 25% of CPU is overhead before real work begins. Element's own engineering team calls this a hard ceiling — and their solution, Synapse Pro, is proprietary and closed-source. - Conduit/Continuwuity (Rust) are fast on a single machine but use embedded RocksDB with no clustering capability. - Dendrite (Go) is in maintenance mode with no production-ready horizontal scaling. There is no open-source Matrix homeserver that offers simple horizontal scaling for large deployments. Maelstrom fills that gap: - True horizontal scaling -- stateless Axum instances behind a load balancer, with chitchat gossip for cross-node ephemeral state. Scale by adding nodes. No worker types to configure, no process-specific routing, no external message broker. - Distributed storage -- SurrealDB on TiKV provides automatic sharding, replication, and ACID transactions across a cluster. No single-PostgreSQL bottle","default_branch":null,"files":null,"tree":[],"storefront":"/r/maelstrom-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/maelstrom-rs/maelstrom/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}