24-12#
Caddy on-demand-tls#
e.g.
{
on_demand_tls {
ask http://localhost:3000/tls-check
}
}
Stream Storage Space per Year#
How much storage does a stream take per year?
How much for 40 years?
name |
avg bandwidth |
TB / year |
TB / 40 years |
---|---|---|---|
podcast audio |
192 kbit/s |
0.72 |
30 |
music (flac) |
1Mbit/s |
3.76 |
150 |
HD video |
8Mbit/s |
30 |
1200 |
That means I could record my personal audio 24/7 - even when sleeping - for the rest of my life [1] on two drives at 16 TB each. As of today that would cost about 500€ or 12.5€ per year. 🤓 🤷
Computation:
SEC_PER_YEAR = 365*24*3600
def mbit_s2tb_y(bw_mbit_s):
bits_total = bw_mbit_s * SEC_PER_YEAR
# base unit: mbit/s
# bit -> byte
# MiB -> GiB -> TiB
return bits_total / 8 / 1024**2
print(mbit_s2tb_y(0.192))
print(mbit_s2tb_y(1))
print(mbit_s2tb_y(8))