On Tue, Jul 5, 2011 at 5:31 PM, Richard  Steele <[email protected]> wrote:
> One of the two pairs almost always reports memory close to being exhausted.
> On the other pair we occasionally have a hosted website go viral and the
> instances hang as they can't handle all of the requests.
>
> Right now, we can only afford to add memory (not clustered servers). What 
> would be your recommendation to do?

A few thoughts I have while reading this thread

If you have any processes that seem to take a huge amount of memory,
it might be worthwhile to look at isolating those to their own
dedicated instance.  Reporting, for example, often uses alot of memory
and is a great candidate to have it's own instance.  If it falls over
it still is annoying but at least it's not taking everything else with
it.

If your application will allow it, consider adding a cache layer in
front of the webserver.  This will particularly come in handy if a
site "goes viral".  Look at http://www.squid-cache.org/ for 15 minutes
or so to get more info.  If your biggest problem is unanticipated
traffic spikes, this is likely to be the "best bang for your buck"
kinda solution.

-Cameron

-- 
Cameron Childress
Sumo Consulting Inc
http://www.sumoc.com
---
cell:  678.637.5072
aim:   cameroncf
email: [email protected]



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346105
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to