Remediation Runbooks: Rust Migration, Compression & Tuning
Production-tested homeserver.yaml, conduit.toml, Postgres, and systemd fixes to slash Matrix RAM from 3 GB to under 250 MB, stop state_groups_state bloat, and stabilize federation.
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.
Run rust-synapse-compress-state Weekly Cron to Shrink Postgres
Automated weekly state compression deduplicates redundant room state trees in Postgres without taking your Synapse homeserver offline.
Set Synapse caches.global_factor to 0.5 and Tune per_cache_factors
Lowering caches.global_factor from 1.0 to 0.5 (or 0.25 on 2 GB hosts) slashes Synapse Python heap usage by 35-50% with minimal cache miss penalty.
Purge Stale Remote Media & Old Room History via Admin API
Automated media_retention rules and Admin API history purges keep media_store under 10 GB on modest 50-128 GB VPS disks.
Enable jemalloc LD_PRELOAD in Synapse Docker & Systemd
Injecting libjemalloc.so.2 cuts post-burst Python Synapse memory retention by 30-45% with zero application code changes.
Split federation_sender and client_reader Workers Safely
Offloading outbound federation retries and /sync traffic into two lightweight workers keeps message send latency under 60ms on 4-8 GB VPS nodes.
Configure PostgreSQL LC_COLLATE=C and Shared Buffers for Synapse
Synapse refuses to boot on non-C collation databases because locale-aware text sorting breaks Matrix ID index lookups.
Cap limit_remote_rooms.complexity to Prevent Synapse OOM
Setting limit_remote_rooms enabled: true with complexity: 1.0 stops a single user from accidentally crashing your entire homeserver by joining Matrix HQ.
Coturn UDP 3478 & TLS 443 Traversal Checklist for Matrix Calls
Enabling Coturn TLS 443 alongside UDP 3478 and blocking RFC1918 relay targets secures WebRTC and Element Call behind strict firewalls.
Public Matrix Homeserver VPS Rate Ledger (2026-11-16) — Remediation Hub (9)
| Provider & Plan | Spec | Intro Rate | Renewal | Isolation & Network | Matrix Fit | Link |
|---|---|---|---|---|---|---|
| Hostinger KVM 1 — 1 vCPU / 4 GB RAM / 50 GB NVMe | 1 vCPU · 4 GB RAM · 50 GB NVMe | $4.99/mo | $9.99/mo | KVM Dedicated RAM · Unlimited Bandwidth Cap 4 TB | Continuwuity / Conduit Rust (< 250 MB RSS) up to 120 users | Open Hostinger KVM 1 |
| Hostinger KVM 2 — 2 vCPU / 8 GB RAM / 100 GB NVMe | 2 vCPU · 8 GB RAM · 100 GB NVMe | $6.99/mo | $13.99/mo | KVM Dedicated RAM · 8 TB Monthly Transfer | Tuned Synapse + jemalloc + Postgres + Coturn (50-250 users) | Open Hostinger KVM 2 |
| Vultr High Frequency 2 GB — 1 vCPU (3.8+ GHz) / 2 GB RAM / 64 GB NVMe | 1 vCPU High-Clock · 2 GB RAM · 64 GB NVMe | $12.00/mo | $12.00/mo | Hourly Billing · 32 Global Edge Regions | Ultra-low-latency Continuwuity / Conduit Rust team server | Open Vultr High Frequency 2 GB |
| Vultr High Frequency 4 GB — 2 vCPU (3.8+ GHz) / 4 GB RAM / 128 GB NVMe | 2 vCPU High-Clock · 4 GB RAM · 128 GB NVMe | $24.00/mo | $24.00/mo | High-Clock Federation Crypto + Fast NVMe IOPS | Synapse + Postgres + Sliding Sync (30-150 users) | Open Vultr High Frequency 4 GB |
| Vultr High Frequency 8 GB — 3 vCPU (3.8+ GHz) / 8 GB RAM / 256 GB NVMe | 3 vCPU High-Clock · 8 GB RAM · 256 GB NVMe | $48.00/mo | $48.00/mo | Sustained NVMe Write IOPS · Zero Promo Renewal Jump | Synapse Worker Pool + LiveKit SFU + Element Call (150-500 users) | Open Vultr High Frequency 8 GB |
Tariffs verified 2026-11-16 by FedRoom Diagnostics. Vultr High Frequency uses flat hourly-capped billing; Hostinger KVM reflects intro vs renewal terms.
- Vultr High Frequency Compute Pricing — High Frequency 2 GB ($12.00/mo), 4 GB ($24.00/mo), and 8 GB ($48.00/mo) flat hourly-capped tariffs verified 2026-11-16.
- Hostinger KVM VPS Plans — KVM 1 ($4.99/mo promo, $9.99/mo renewal) and KVM 2 ($6.99/mo promo, $13.99/mo renewal) verified 2026-11-16.
- Matrix Synapse & Continuwuity / Conduit Documentation — caches.global_factor, limit_remote_rooms.complexity, jemalloc LD_PRELOAD, rust-synapse-compress-state, and RocksDB behavior verified 2026-11-16.
- Slack Paid Workspace Seat Pricing — Slack Pro ($7.25/user/mo annual, $8.75/user/mo monthly) and Business+ ($12.50+/user/mo) seat pricing verified 2026-11-16.