> > Message: 7 > Date: Thu, 3 Jan 2008 11:27:49 +0000 > From: Mike Whitaker <[EMAIL PROTECTED]> > Subject: Re: [Catalyst] two Catalyst flaws > To: The elegant MVC web framework <catalyst@lists.scsys.co.uk> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed > > > A normal "mistake" of managing web servers these days is to put > > tons of web > > applications onto one server and letting them fight over resources. > > Servers > > (and memory in particular) is a low cost factor (compared to > > development > > costs). Then why not give your lovely web application some GB's of > > memory? > > Absolutely. Memory is cheap, about 1GB / hour of programmer time at > any decent rate. (Crucial, 2GB for £52.). If it takes you more than > an hour to reduce the memory footprint of your app, buy your server > more RAM :) > --
I think you may be doing this person a disservice with that advice without first understanding more about what he is trying to accomplish. I can off-hand think of several scenarios where it would be far most cost effective to optimize the memory usage of an application, rather than throwing more memory at the problem; Conversely there are times when it makes sense to just load up more memory. An example I'll throw out is the case of VPS hosting. You have a server, wholly yours, but no physical way of adding RAM to it. Possibly to upgrade the amount of RAM you need to upgrade service (check slicehost.com - that is their business model). So you could see a model of $40/hour or programming to solve for optimizing memory, VS. $40/month for more RAM, estimated 12 months run of project and 4 hours spent on optimization = $160 of programming time to $480 ($40/mo * 12 months) of increased operational cost = $320 net savings. Anyway, I don't know how to fix for the original problem asked, but let's not spit out "throw more hardware at the problem", until we understand the problem. > > > > ------------------------------ > > _______________________________________________ > Catalyst mailing list > Catalyst@lists.scsys.co.uk > http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > > > End of Catalyst Digest, Vol 35, Issue 5 > *************************************** > -- do() || do_not(); // try() -------------------------------- Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam -------------------------------- http://www.kylehultman.com _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/