#330: Caching IPs for metadata updates
------------------------+---------------------------------------------------
 Reporter:  humanclay   |       Owner:  admin
     Type:  Feature     |      Status:  new  
 Priority:  1           |   Milestone:       
Component:  Liquidsoap  |     Version:       
 Keywords:              |         Mac:  1    
    Linux:  1           |      Netbsd:  1    
    Other:  1           |     Freebsd:  1    
------------------------+---------------------------------------------------
 For load balancing and redundancy I have several icecast servers in place.
 I have setup a DNS entry called icecast.domain.com which randomly points
 to different servers in the cluster and use relaying on-demand to make
 sure that each server has the ability to serve the stream.

 I have liquidsoap connecting to icecast.domain.com which gets a random IP
 address each time. However when I issue a metadata update it seems to do a
 new DNS resolution and as such it often connects to a relay server rather
 than the one it initially connected to, which has the original mountpoint.

 Would it be possible for liquidsoap to remember the IP address that it
 connected to and then use that for sending metadata updates rather than
 doing a new resolution?

 I would like liquidsoap to continue doing fresh lookups when it has to
 reconnect to a stream, but to cache the IP value of the hostname for
 metadata updates to ensure that updates are being sent to the server with
 the original mountpoint rather than a relay server.

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/330>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac

Reply via email to