sintoniadocs
Deployment and operations

Hardware and sizing

CPU, RAM, storage and network planning estimates.

On this pageStatus and assumptionsStarting budgetsNetwork calculationStorage calculationValidate before committing to capacityOptional recordingRustFS storage update

Status and assumptions#

These are initial engineering planning estimates dated 2026-11-16, not certified Sintonia capacity or measured load-test results. Size for concurrent activity, video subscriptions, retention and attachments rather than account count alone.

These are runtime budgets; allocate separate CI/build resources for Java, Flutter and images. Assumptions: one backend replica, PostgreSQL on SSD, no call recording/transcoding, average video of 1.5 Mbit/s per publisher and rooms of at most ten people in the larger examples. Simulcast, resolution, codecs, layout, TURN and network conditions change the result. E2EE does not remove database, audit, disk or network costs.

Starting budgets#

SSD values cover initial system/database space. Add attachments and backups separately. Account/concurrency figures are scenarios to test, not capacity guarantees.

ScenarioAccounts / peak online / simultaneous videoApplication/databaseLiveKit/TURN mediaMedia network
PilotUp to 25 / 10 / 4 in one small roomShared test host: 4 vCPU, 8 GB RAM, 100 GB SSD for the entire pilotMay share the pilot host1 Gbit/s NIC; test at least 50 Mbit/s useful throughput and low loss
Small teamUp to 100 / 40 / 12, rooms up to 6App+DB: 4 vCPU, 8 GB RAM, 250 GB SSDSeparate host: 4 vCPU, 8 GB RAM1 Gbit/s NIC; reserve at least 200 Mbit/s useful throughput for this scenario
Medium organizationUp to 500 / 150 / 40, rooms up to 10App: 4 vCPU/8 GB; DB: 4 vCPU/16 GB, 500 GB initial SSDSeparate host: 8 vCPU/16 GB10 Gbit/s NIC; modeled outbound video already reaches about 675 Mbit/s
Higher concurrencyUp to 1,000 / 400 / 100, rooms up to 10App: 8 vCPU/16 GB; DB: 8 vCPU/32 GB, 1 TB initial SSDPlan 16 vCPU/32 GB and 10 Gbit/s; load-test before purchaseAbout 1.69 Gbit/s modeled outbound traffic; multiple media nodes require a separate design

The larger row does not imply support for multiple application replicas: the backend session/event backplane is not distributed. Separate app/database/media hosts differ from replicating the backend. A low-traffic static docs service may share the proxy; a dedicated starting budget is 1 vCPU and 512 MB–1 GB RAM, then measure connections/cache.

These scenario-specific budgets are our estimates. LiveKit's production guidance emphasizes CPU/network and recommends 10 Gbit/s or faster interfaces for scalable production. Its benchmark guide explains the effect of publishers/subscribers/data volume and the requirement for one room to fit on a node. Generic LiveKit numbers do not certify Sintonia's E2EE/application workload.

Network calculation#

For a room where everyone publishes one track and subscribes to every other participant:

text
SFU_out_Mbit_s = N × (N - 1) × video_bitrate_Mbit_s
SFU_in_Mbit_s = N × video_bitrate_Mbit_s
Outbound_with_headroom = SFU_out_Mbit_s × 1.25
GB_per_hour = Mbit_s × 0.45

Ten people at 1.5 Mbit/s produce about 135 Mbit/s outbound video, or 169 Mbit/s with 25% planning headroom for overhead/audio/variation. That is approximately 76 GB outbound per hour at that load. Four such rooms approach 675 Mbit/s and 304 GB/hour. The 25% allowance is a budgeting assumption, not a protocol constant.

Adaptive subscriptions may reduce traffic, but measure before relying on savings. TURN adds another relay/network hop; budget each provider/link without assuming its transfer is included in SFU charges. A shared or metered advertised 1 Gbit/s connection is not guaranteed sustained throughput. Clients also need sufficient upload/download capacity.

Storage calculation#

text
Text_database ≈ daily_messages × retention_days × mean_record_bytes
Files ≈ active_users × MB_per_user_day × retention_days
Total_disk ≈ database + indexes + files + custody/audit + WAL + temporary_space + margin

A planning example of 100 people sending 100 messages/day at 4 KiB per record is about 13.9 GiB/year before indexes/other tables. Initially reserve at least 50% extra for metadata/indexes, then replace estimates with real measurements. Custody recipients add encrypted copies; attachment quantity/size may dominate.

At 20 MB of attachments per person/day, 100 people produce roughly 730 GB/year in decimal units, excluding backups. A 250 GB SSD cannot hold that example for a year. Logical message deletion does not immediately free retained file storage. Calls are not recorded by this feature and are excluded from stored video; video attachments count in full.

Keep backups on a separate destination and measure compression/deduplication rather than assuming encrypted data compresses well. Initially reserve at least 25% operational disk headroom and alert before exhaustion. Message retention, custody and backup retention are distinct policies; multi-year retention requires corresponding storage and restoration tests.

Validate before committing to capacity#

Record peak online users, rooms, maximum room size, bitrate and relay use. Test the exact releases with realistic E2EE, attachments and custody where applicable. Measure CPU, RAM/GC, SSD latency/IOPS, database/WAL size, throughput, packet loss/jitter and p95 response time. Include corporate TURN/TLS networks, Firefox/Chrome and real phones. Rehearse full restoration and measure RPO/RTO. Reserve growth headroom and repeat tests after topology, retention or media changes.

Functional tests in this project validate workflows, not production capacity. No load benchmark has certified these ranges.

Optional recording#

Budget an additional 2 vCPU/4 GiB for one 720p recorder, beyond database/app/SFU. Start a shared test Droplet around 4 vCPU/8 GiB and measure real load. Plan 0.5–1.8 GB/hour, admission reservations at 1.8 GB/hour of maximum duration, dedicated final storage and private scratch up to twice that reservation. Transcoding occupies the slot and may take minutes. See the complete storage and backup plan; these are estimates, not benchmarks.

For multiple servers, use recording worker pools with one process per identity/slot. Size CPU/scratch per worker and central upload/disk capacity for aggregate concurrency. These are estimates, not benchmarks.

RustFS storage update#

Earlier tables excluded the new RustFS service and recorders. For a low-load pilot, reserve an extra 1–2 vCPU/2 GiB for storage and measure CPU, memory, IOPS and network. This is an estimate, not a benchmark. Official production cluster guidance is much larger: at least four nodes, 64 GB or more per node and 10-Gbit/s networking or better; see hardware selection. The four-node/four-disk template does not provision infrastructure. Budget final objects, backend upload staging, worker scratch/outbox and independent backups; redundancy is not backup. See RustFS.

Search channels, QR codes, uploads, security…

↑ ↓ navigate ↵ open result