Caching on the filesystem
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Perlbal > Caching on the filesystem




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

    Caching on the filesystem  
David Snopek


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


 
03-06-07 06:12 PM

Hello!

Please forgive me for being so ignorant of how Perlbal works, but I've
just started playing with it.  I am looking for any pointers on where
to look or how to start ...

We have a very complicated image generation system.  I want to use a
pool of servers to generate the images.  I was able to get this going
easily with a service set as "role = reverse_proxy".  However, I want
to cache the result on the server running Perlbal so that it can
simply be sent if it exists.  We already have a mechanism that knows
when the cached image is invalid and can call to the server and
request that the cached image be deleted.

Is possible, with some series of hooks, to combine the roles
"reverse_proxy" and "web_server" to get this done?  Here's what I'm
thinking:  The web_server service will check if the image exists and
simply serve it if it exists.  If it doesn't, it "reproxys" to the
reverse_proxy.  The reverse_proxy will write the image to disk as it
serves it to the client.  How would I accomplish such a thing?  Or is
there a better way to do it?

Thanks in advance!
David Snopek.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:30 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