Perbal internal redirects.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > Perbal internal redirects.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Perbal internal redirects.  
Ashish Padave


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-03-07 06:12 PM

Hello,

I read this on the archives, it was posted by Brad.

"Instead you can put Perlbal in front, which will advertise via a special
HTTP header that it supports internal reproxying, your php application
detects that, does its authentication and URL mapping, as well as MogileFS
client work to find where on the network that image is, then it replies to
Perlbal the locations of the resource that needs to be served.  Then PHP
is free to do whatever, and Perlbal spoonfeeds the client.  Becuse Perlbal
is async/event-based with a single thread, it can handles tens of
thousands of connections at once (as can plb, but plb doesn't do internal
redirects).

The cool thing about internal redirects is that it makes mod_perl or PHP
not waste their time with things they're not good at, and the whole
process is invisible to the end user."

Can someone please post some sample code or something explaining how its
done?

Thank you,

Ashish







[ Post a follow-up to this message ]



    Re: Perbal internal redirects.  
Adam Jacob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-04-07 06:11 AM

You can find this in the Perlbal source, under "doc/reproxying.txt".

A link to that file in Subversion is here:

http://code.sixapart.com/svn/perlba.../reproxying.txt

Adam

On Jul 3, 2007, at 8:01 AM, Ashish Padave wrote:

> Hello,
>
> I read this on the archives, it was posted by Brad.
>
> "Instead you can put Perlbal in front, which will advertise via a
> special
> HTTP header that it supports internal reproxying, your php application
> detects that, does its authentication and URL mapping, as well as
> MogileFS
> client work to find where on the network that image is, then it
> replies to
> Perlbal the locations of the resource that needs to be served.
> Then PHP
> is free to do whatever, and Perlbal spoonfeeds the client.  Becuse
> Perlbal
> is async/event-based with a single thread, it can handles tens of
> thousands of connections at once (as can plb, but plb doesn't do
> internal
> redirects).
>
> The cool thing about internal redirects is that it makes mod_perl
> or PHP
> not waste their time with things they're not good at, and the whole
> process is invisible to the end user."
>
> Can someone please post some sample code or something explaining
> how its done?
>
> Thank you,
>
> Ashish

--
HJK Solutions - We Launch Startups - http://www.hjksolutions.com
Adam Jacob, Senior Partner
T: (206) 508-4759 E: adam@hjksolutions.com







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:02 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register