note/slides/seaweedfs-production-setup.md
A walkthrough of the recommended deployment topology
3 Masters + Volume Servers
Masters (run 3)
Volume Servers (scale out)
Rule of thumb: start with 3 masters, then grow volume servers with data.
Filer + DB for metadata
S3 Servers
1 Admin Server + a few Workers
Admin server (1 is enough)
Workers (a few)
Keeps housekeeping off the hot path.
| Component | Count | Role |
|---|---|---|
| Master | 3 | Raft quorum, topology, volume map |
| Volume Server | N (scale out) | Stores data needles |
| Filer | 3 | Metadata gateway |
| Metadata DB | HA cluster | Persists filer metadata |
| S3 Server | N (by throughput) | S3 API frontend |
| Admin | 1 | Background job coordinator |
| Worker | A few | Executes admin-scheduled tasks |
Prefer many volume servers so EC shards spread across failure domains.
Example: 8 volume servers, EC 5+3
Volume -> [D1][D2][D3][D4][D5] + [P1][P2][P3]
| | | | | | | |
VS1 VS2 VS3 VS4 VS5 VS6 VS7 VS8
More volume servers = more EC layouts available (e.g. 10+4, 6+3).
Scale each layer independently as usage grows.