> In previous versions of CF we use to put our .cfm templates 
> in a separate hard-disk for performance reasons. Now CFMX 
> compiles the .cfm templates and than put the .class files 
> in C:\CFusionMX\wwwroot\WEB-INF\cfclasses folder (for most 
> cf installations), I presume that the Jrun machine runs the 
> class files on it... (correct me if I'm wrong). In this 
> case (in a production box), my 10K rpm SCSI is completely 
> idle??... :o(

Yes, it should be pretty close to idle, I think. There shouldn't be that
much disk activity on a well-configured CF server during normal operations.
CF caches the Java classes in memory, after compiling them to bytecode on
disk, if I recall correctly. You have to set the size of the template cache
attribute appropriately, of course. On a production server, again, you can
have even less disk activity generally by using the trusted cache option.

I'd recommend putting the .cfm files on a separate partition for
organizational and security reasons; it shouldn't matter too much where the
compiled classes go, though, as long as they're not on the system partition
or the partition with the temp files and pagefiles.

> Another question: not sure, but I heard that NT 4 has a 
> limitation of 24k files per folder, in a shared environment 
> this number is easily reached since CFMX does not erase 
> the .class file after we change the name of a cfml template 
> or even delete it. It will be the case to reserve a hard-disk 
> to store the .class files in the root of it?

The NTFS 5 filesystem, which is used by NT 4 SP5+ and Windows 2000, can
support many more files than that. In my experience, with say, 50,000,
files, directory traversal gets very slow when using either the console or,
even worse, the Explorer shell, but programmatic access to a specific file
within the filesystem doesn't always seem to be that much slower - I'm
guessing this has to do with the indexing system within NTFS, but I don't
know enough about filesystems to say anything concrete about why it behaves
the way it does.

Perhaps with the CF MX versions for JRun or other J2EE app servers, you can
have separate instances with their own /WEB-INF directories. I haven't
really looked into that.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to