Before you order a server, you can calculate what it will carry. The numbers are simple and they save you from buying the wrong machine.
1. Bandwidth is the first limit
needed bandwidth = concurrent viewers x stream bitrate x 1.1
The factor 1.1 covers HTTP and packaging overhead.
| Stream bitrate | Viewers on 1 Gbit/s | Viewers on 10 Gbit/s |
|---|---|---|
| 2 Mbit/s (SD) | about 400 | about 4000 |
| 4 Mbit/s (720p) | about 200 | about 2000 |
| 8 Mbit/s (1080p) | about 100 | about 1000 |
These numbers assume you fill the port to about 85 percent. Do not plan for 100 percent. Peaks, retransmissions and other traffic need room.
2. Check what the port really is
“1 Gbit/s” in an offer can mean three things:
- Dedicated, unmetered: you can use it fully all month.
- Shared: the port is 1 Gbit/s but the uplink is shared with other customers.
- Metered: a traffic limit in TB per month, or billing on the 95th percentile.
To translate a monthly limit: 1 Mbit/s used around the clock is about 324 GB per month. So 100 TB per month is roughly 300 Mbit/s on average.
3. Peak, not average
Viewing has peaks, usually in the evening and during live sport. Peak concurrency is often 3 to 5 times the daily average. Size for the peak you expect, then add 30 percent.
4. CPU: copy versus transcode
- Copying a stream (no re-encoding) costs very little. One modern core handles dozens of streams. Here bandwidth and disk are the limit, not CPU.
- Transcoding with x264 is expensive. As a rough starting point, one 1080p stream at the
veryfastpreset uses 2 to 3 cores, and 720p uses 1 to 1.5. Measure on your own hardware before you commit, because content and settings change this a lot. - GPU encoding moves the limit from cores to encoder sessions and video memory.
5. RAM
Stream processes themselves need little, usually under 100 MB each. RAM matters for the page cache. If the server delivers HLS from disk, enough free RAM to hold the live window of all channels means segments are served from memory.
6. Disk
live window size = bitrate (Mbit/s) / 8 x window seconds (in MB per channel)
A 4 Mbit/s channel with a 60 second window is about 30 MB. For 200 channels that is 6 GB, which fits in RAM on most servers. Catch-up and recordings are a different scale: one 4 Mbit/s channel is about 43 GB per day.
7. A worked example
Goal: 600 concurrent viewers at peak, 4 Mbit/s streams, 150 channels, no transcoding.
- Bandwidth: 600 x 4 x 1.1 = 2640 Mbit/s. One 1 Gbit/s server is not enough.
- Choice: three 1 Gbit/s edge servers at about 880 Mbit/s each is too tight. Four edges at about 660 Mbit/s each, or one 10 Gbit/s server, both work.
- Origin: 150 channels copied, 8 cores and 32 GB RAM is comfortable.
- Edges: caching reverse proxies, 4 cores, 16 GB RAM, SSD.
8. Plan for one failure
If one of four edges goes down, the other three must carry its viewers. In the example that means 880 Mbit/s each, which is over the safe line. With five edges you can lose one and stay healthy. Decide in advance whether that matters for you.