On Thursday, Jan 16, 2003, at 09:31 US/Pacific, Joshua Miller wrote:
> Caching > Trusted Cache: ---- what's the performance gain here? Does
> this mean every time I change code I have to uncheck this and run the
> template, then check it again?

If Trusted Cached is enabled, CF does not even check the last modified 
date on a file to see whether it needs to be compiled, it just uses the 
.class already loaded into memory. That can be quite a big speed up. 
The downside is: yes, you need to uncheck it and hit any changed files 
and then check it again to pick up those changes.

> Java and JVM Settings > Max Memory Size: ---- what's a good max value 
> if
> there's say 1024MB RAM on the server?

Leave enough for your O/S to run (plus any other additional 
applications) but otherwise crank it up. You can also tweak performance 
by specifying additional JVM arguments (min heap, max perm size etc 
etc) - refer to JRun docs for tuning guidelines. See also the CFMX 
performance tech notes on the site which mention min/max thread 
settings etc.

Most of all: load test your application and see what impact changing 
each setting has. The optimal configuration will be different for every 
application.

Sean A Corfield -- Director, Architecture
Web Technology Group -- Macromedia, Inc.
tel: (415) 252-2287 -- cell: (415) 717-8473
aim/iChat: seancorfield -- http://www.macromedia.com
An Architect's View -- http://www.macromedia.com/go/arch_blog

ColdFusion MX and JRun 4 now available for Mac OS X!
http://www.macromedia.com/go/cfmxosx

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to