Migrate a Small Team From Synapse Python to Continuwuity / Conduit Rust
Replacing Python Synapse + PostgreSQL with a single Continuwuity / Conduit Rust binary drops idle and active RAM under 250 MB with zero worker tuning.
RAM Drop: 2.4 GB -> 140-240 MB | Fits: $4.99 Hostinger KVM 1 / $12 Vultr HF
Step 1: Verify Team Size and Room History Requirements
Continuwuity (the active community fork of Conduwuit/Conduit) compiles to a single static Rust binary backed by embedded RocksDB. For teams of 5 to 150 users, it supports native MSC4186 Sliding Sync, threads, spaces, and federation without Python GC pauses or external Postgres management.
Step 2: Deploy conduit.toml Behind Caddy or Nginx TLS
Set server_name, max_request_size, allow_federation, and trusted_servers inside conduit.toml, mount a persistent RocksDB volume on NVMe, and advertise /.well-known/matrix/server on port 443. Resident RAM stays flat at 95-245 MB even during federated room joins.
Measured Thresholds & Configuration
| Stack Component | Synapse Python + Postgres | Continuwuity / Conduit Rust |
|---|---|---|
| Idle + 50 Active Users RSS | 1,400 - 2,600 MB | 95 - 190 MB |
| External Database Required | PostgreSQL 15+ (LC_COLLATE=C) | None (Embedded RocksDB) |
| Minimum Reliable VPS | Vultr HF 4 GB ($24/mo) | Hostinger KVM 1 ($4.99/mo) / Vultr HF 2 GB ($12/mo) |