PDA

View Full Version : load balancing... script?


djhellfire
5th May 2003, 22:33
I noticed that on the shoutcast site, playlist's are automatically generated every few minutes, and servers that are in clusters are load balanced with the least loaded server on top.

In the past I have used irc bot's to automatically output a playlist every 60 seconds, load balancing my pool of servers. Until recently this has not been made a problem - but I am currently moving away from irc.

I was wondering if anyone had some sort of script, pearl possibly, that could do the same thing, with out all the hassle?

I have tried just linking to the shoutcast site, but if for any reason the stream disconnects for 30 seconds (dj change, whathave you) the shoutcast link changes.... too much upkeep.