perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Douglas Sims <>
Subject Re: Ways to scale a mod_perl site
Date Wed, 16 Sep 2009 17:21:13 GMT
I'm curious... what is the hardware like on the one server?  How many CPUs
and RAM?

Also, a few thoughts...

- You do a 301 from to  That doesn't take much
work from the server, but why not just serve up everything from the original

- The algebra problem I just tried returned twelve separate images.  What
if, instead of serving gifs you displayed each stage of transformation of
the equation using HTML and CSS?  That would be rather tricky with things
like root signs but I think it could be done - though a bit of work.

I wish this site had been around when I was in high school.

On Wed, Sep 16, 2009 at 11:48 AM, Adam Prime <> wrote:

> Igor Chudov wrote:
>> On Wed, Sep 16, 2009 at 11:05 AM, Michael Peters <<mailto:
>>>> wrote:
>>    On 09/16/2009 11:49 AM, Igor Chudov wrote:
>>        1) Use a load balancer like perlbal (I am already doing that)
>>    A load balancer is good but so are proxies. If you can separate your
>>    application server from the server that servers static content then
>>    you'll get a boost even if they are on the same machine.
>> I have very little static content. Even images are generated. My site
>> generates images of math formulae such as (x-1)/(x+1) on the fly.,
> I can understand generating them on the fly for flexibility reasons, but
> I'd cache them, and serve them statically after that, rather than regenerate
> the images on every single request.  You can accomplish that in the app
> itself, or just by throwing a caching proxy in front of it (maybe you're
> already doing this with perlbal)
> Adam

View raw message