Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automatic load balancing
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Feb 25, 2007 11:41 pm    Post subject: Reply with quote

Check the www link in my profile, my directory on mediacast1 had disappeared.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
gee2803



Joined: 11 Aug 2006
Posts: 48

PostPosted: Mon Feb 26, 2007 7:25 am    Post subject: Reply with quote

same over here
Back to top
View user's profile Send private message
Anonymous
Guest





PostPosted: Mon Feb 26, 2007 7:42 am    Post subject: Reply with quote

http://www.icecast.pwp.blueyonder.co.uk/ runs.

have a nice day
Back to top
Anonymous
Guest





PostPosted: Tue Feb 27, 2007 12:03 am    Post subject: Thank you guys!!! Reply with quote

Wow,

I didn't expect an answer so fast!!! Thank you a lot guys! I will test this branch soon, and I will post the result here later!

Keep the vibe!!! Icecast rocks!!!

peace!

JonesBones
Back to top
Ant



Joined: 11 Jun 2008
Posts: 27
Location: Russia

PostPosted: Thu Sep 16, 2010 12:24 pm    Post subject: Reply with quote

Hi.
I use search, i read docs about:
Mount Specific Settings
Also i fount this topic.

I own one icecast server 2.3.2, with my mount on it.
I have 2 friends that decide help me and they made on their servers relay from my server.

So, i try to find some simple load balance (i don't want ask them use master slave etc).

Is it possible to have this?:
When my icecast reached some limit for some mountpoint, start to redirect new users with http 302 for example to myfriends icecast servers and mountpoints.


P.S. looks like someone have same idea:
http://www.fladi.at/2010/01/01/load-balancing-icecast-relays/
But maybe it's possible to realize it only with icecast? Smile
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Thu Sep 16, 2010 6:08 pm    Post subject: Reply with quote

Have a look at http://giss.tv/wiki/index.php/Servers_Configuration as an example of what you want.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ant



Joined: 11 Jun 2008
Posts: 27
Location: Russia

PostPosted: Thu Sep 16, 2010 6:43 pm    Post subject: Reply with quote

Well, it looks like this http://icecast.org/docs/icecast-2.3.2/icecast2_config_file.html#relay

It's not what i'am thinking about.

Idea that i described doen't require changes on other streamers.

Let's say, on main server1 we have mountpoint for user server1/mystream
On second icecast server2 relay mountpoint called /blablablastream
On third icecast it's called /mount1

I mean other servers may have already some logic in their mountpoints names.

So i suggest that for mount on server1 i can set how much users it can handle and other servers like server2/blablablastream and server3/mount1, so when limit reached, just redirect to this servers for example by random.

I suppose this method can be used when other relay servers is not under my own control or i just don't want give any log\pass from my streamer at all.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Sep 21, 2010 1:37 am    Post subject: Reply with quote

The only mechanism I know of currently to achieve this using icecast alone is to use auth url on the requested mount on the kh tree. If you can determine that a redirect is required and where from the called listener_add script then return a 200 but also return a Location header. icecast takes that case to indicate that a 302 is required to be sent to the listener.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber