Difference between revisions of "Slave Servers Requirements"

From Giss
(Recomendations to add an icecast slave server to relay only some mountpoints)
Line 1: Line 1:
This page describe our recomendations to add a slave server to giss network.
+
This page describes our recomendations to add an slave server to giss network.
  
 
It's based on our experience and the actual requirements of the icecast master/slave infrastructure to allow '''all''' the mountpoints in use at one time.
 
It's based on our experience and the actual requirements of the icecast master/slave infrastructure to allow '''all''' the mountpoints in use at one time.
Line 5: Line 5:
  
 
==Recomendations to add an icecast slave server to relay all mountpoints==
 
==Recomendations to add an icecast slave server to relay all mountpoints==
 +
 +
This params works in the courrent situation where we have an stable 25/30 sources at the same time in giss, but that sometimes increase to about 40.
 +
  
 
'''Bandwidth''': minimum 20 mbps dedicated up/down
 
'''Bandwidth''': minimum 20 mbps dedicated up/down
Line 16: Line 19:
  
 
==And to add an icecast slave server to relay only some mountpoints==
 
==And to add an icecast slave server to relay only some mountpoints==
 +
  
 
If you have X bandwidth and you want to join your server to giss, we recomend to tune icecast params like this:
 
If you have X bandwidth and you want to join your server to giss, we recomend to tune icecast params like this:
  
 
  X bandwith in kbps / 100 kbps (aprox for each connection) = max clients param in icecast conf
 
  X bandwith in kbps / 100 kbps (aprox for each connection) = max clients param in icecast conf
  max clients paramm in icecast conf / 4 (clients by source) )= max source param in icecast conf
+
  max clients param in icecast conf / 4 (clients by source) )= max sources param in icecast conf
  
 
If you have monthly transfer limits in your server you should know that one slave with about 25 sources online at the same time consumes each day about 30GB, so 1TB at month.
 
If you have monthly transfer limits in your server you should know that one slave with about 25 sources online at the same time consumes each day about 30GB, so 1TB at month.
Line 26: Line 30:
 
This way you can tune params in icecast like this:
 
This way you can tune params in icecast like this:
  
  X GB monthly transfer allowed / 40 = max source param in icecast
+
  X GB monthly transfer allowed / 40 = max sources param in icecast
  max source param in icecast * 4 (clients by source) = max clients param in icecast conf
+
  max sources param in icecast * 4 (clients by source) = max clients param in icecast conf
  
 
Well, it's not a science as you can see. The 4 clients for source is an arbitrary number and the 100 kbps for each connection is more than is usually is. So take this notes only as an aproximation. ;)
 
Well, it's not a science as you can see. The 4 clients for source is an arbitrary number and the 100 kbps for each connection is more than is usually is. So take this notes only as an aproximation. ;)

Revision as of 18:32, 19 July 2007

This page describes our recomendations to add an slave server to giss network.

It's based on our experience and the actual requirements of the icecast master/slave infrastructure to allow all the mountpoints in use at one time.


Recomendations to add an icecast slave server to relay all mountpoints

This params works in the courrent situation where we have an stable 25/30 sources at the same time in giss, but that sometimes increase to about 40.


Bandwidth: minimum 20 mbps dedicated up/down

Monthly Transfer: 2TB / month

Server Software: as described in Servers Configuration

Server Hardware: 2,4 Ghz CPU / 512 RAM


And to add an icecast slave server to relay only some mountpoints

If you have X bandwidth and you want to join your server to giss, we recomend to tune icecast params like this:

X bandwith in kbps / 100 kbps (aprox for each connection) = max clients param in icecast conf
max clients param in icecast conf / 4 (clients by source) )= max sources param in icecast conf

If you have monthly transfer limits in your server you should know that one slave with about 25 sources online at the same time consumes each day about 30GB, so 1TB at month.

This way you can tune params in icecast like this:

X GB monthly transfer allowed / 40 = max sources param in icecast
max sources param in icecast * 4 (clients by source) = max clients param in icecast conf

Well, it's not a science as you can see. The 4 clients for source is an arbitrary number and the 100 kbps for each connection is more than is usually is. So take this notes only as an aproximation. ;)