|
/
Zope
/
Apsis
/
Pound Mailing List
/
Archive
/
2006
/
2006-11
/
RE: [Pound Mailing List] Pound - Does it redirect all traffic back to the pound server?
[
Re: [Pound Mailing List] ANNOUNCE: Pound - ... ]
[
RE: [Pound Mailing List] Pound RPC over Http / ... ]
RE: [Pound Mailing List] Pound - Does it redirect all traffic back to the pound server?
"Kiriki Delany" <kiriki(at)streamguys.com> |
2006-11-01 18:35:02 |
[ FULL ]
|
On another note, I was testing the Balance application
It is also very very close to what I'm looking for exactly, thought it also
passes all requests back through the Balance server.
It would be so great if there was DSR mode for Balance or Pound.
Still messing with the redirects for Pound.
It works if I define the exact url and filename we want hit. But I need the
redirects to be more dynamic. To function like the backends do, pointing to
a server, and then allowing any of the files behind that server to be hit
Am I missing something with the redirect? Must it point to an exact file? Or
is there a way to point it to the server as a whole?
Thank You,
Kiriki Delany
-----Original Message-----
From: Kiriki Delany [mailto:kiriki(at)streamguys.com]
Sent: Tuesday, October 31, 2006 11:03 AM
To: 'roseg(at)apsis.ch'
Subject: RE: [Pound Mailing List] Pound - Does it redirect all traffic back
to the pound server?
Robert, thanks so much for your advice.
I have a question if your able, about my syntax.
Trying to switch to the redirect from a backend, I seem to be falling short
on the syntax.
I'm trying to have people tune in to the address
http://www.domain.com/content
When this request is made the log shows
Oct 31 10:49:46 tunein pound: starting...
Oct 31 10:49:53 tunein pound: 69.106.48.61 GET /content HTTP/1.1 - REDIRECT
http://218.246.37.10/
And the player just gets lost in a redirect.
My config file is as follows
LogLevel 2
ListenHTTP
Address tunein.streamguys.com
Port 80
Service
HeadRequire "Host: .*www.domain.com.*"
Redirect "http://218.246.37.10/"
Redirect "http://215.234.206.34/"
End
It looks to me, like its redirecting people to http://218.246.37.10/ but not
appending the /content
The valid URL string should redirect to http://218.246.37.10/content
Will the redirects only go to one exact URL as specific in the Redirect
string? Or can it append the actual file that being called? i.e.
http://218.246.37.10/content
Thank You,
Kiriki Delany
-----Original Message-----
From: Robert Segall [mailto:roseg(at)apsis.ch]
Sent: Tuesday, October 31, 2006 9:52 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound - Does it redirect all traffic back
to the pound server?
On Mon, 2006-10-30 at 11:52 -0800, Kiriki Delany wrote:[...]
Yes: you can define a service with a bunch of Redirects instead of
BackEnds. That way each incoming request will be answered with a 302,
sending the client to some server.
This is similar to DNS-based load-balancing, but is done entirely in
HTTP.[...]
|
|
|
Re: [Pound Mailing List] Pound - Does it redirect all traffic back to the pound server?
Ted Dunning <tdunning(at)veoh.com> |
2006-11-01 20:38:41 |
[ FULL ]
|
I thought that redirect allowed regexp's in the URL's.
If not, apache definitely allows this. You can set up multiple apache
instances with a URL rewrite to do the redirects. In fact, you can set
almost anything up to do the redirects (even PHP would be fine).
You could then run haproxy on each of your colocation facilities in order to
balance servers within a single network.
On 11/1/06 9:35 AM, "Kiriki Delany" <kiriki(at)streamguys.com> wrote:
[...]
|
|
|
RE: [Pound Mailing List] Pound - Does it redirect all traffic back to the pound server?
"Kiriki Delany" <kiriki(at)streamguys.com> |
2006-11-02 21:24:23 |
[ FULL ]
|
It seems like regexp's in the URL's is not supported in the redirect. I can
get it to work with an explicit URL only.
I also assume that the redirect servers are not checked to see if they are
"up" correct?
Is it possible to do a DSR method with the back-end servers through an HTTP
service? Is that the reason Pound (or Balance) does not have a DSR
implementation?
Is this a useful feature to other people as well?
Thank You,
Kiriki Delany
-----Original Message-----
From: Ted Dunning [mailto:tdunning(at)veoh.com]
Sent: Wednesday, November 01, 2006 11:39 AM
To: pound(at)apsis.ch
Subject: Re: [Pound Mailing List] Pound - Does it redirect all traffic back
to the pound server?
I thought that redirect allowed regexp's in the URL's.
If not, apache definitely allows this. You can set up multiple apache
instances with a URL rewrite to do the redirects. In fact, you can set
almost anything up to do the redirects (even PHP would be fine).
You could then run haproxy on each of your colocation facilities in order to
balance servers within a single network.
On 11/1/06 9:35 AM, "Kiriki Delany" <kiriki(at)streamguys.com> wrote:
[...]
Or[...]
[...]
|
|
|
Re: [Pound Mailing List] Pound - Does it redirect all traffic back to the pound server?
Ted Dunning <tdunning(at)veoh.com> |
2006-11-03 02:57:10 |
[ FULL ]
|
On 11/2/06 12:24 PM, "Kiriki Delany" <kiriki(at)streamguys.com> wrote:
[...]
Not that I know of. The Pound developers are pretty much not in the DSR fan
club.
[...]
I don't think so. The issue is that DSR is hard to do when you can't
reliably forge IP packets. Arp-less aliasing of IP addresses is the
traditional way, but this is pretty hairy and weird when the rest of the
internet assumes that routing really works and you are working to subvert
it.
[...]
Most people I know wouldn't touch DSR if they could possibly help it. It
may be a useful technology for people in your situation (streaming large
files from many points of presence), but I think that there are better ways
to solve your problems.
|
|
|
|