Yes, but first of all, those are all reads.  Our example would be
writing files, which requires exclusive access that part of the drive.
Imagine your concentrated exclusive disk activity when multiple users
are hitting that page at once.  Not to mention cold fusion files are
compiled down to Java, and these would have to be recompiled every time.
And you probably can't use your trusted cache setting in CF Admin with
an approach like this too.  Also, your web server's reads and writes are
closer to your operating system and they are buffered.  CFFILE has to go
through an extra layer, and from what I understand it is not buffered
and you have to wait for the entire file operation.  Now, the good side
to that is the Java methods available now for file I/O are supposedly
much better.

~Brad

-----Original Message-----
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 22, 2006 8:00 AM
To: CF-Talk
Subject: RE: cfsavecontent and cfqueryparam

FILE I/O happens with every page request.
Every page has to be loaded from the disk, every cfinclude loads a file
off
a disk, every use of a custom tag, has to loa dthe tag file.
Rather hard to avoid I/O

Russ



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233092
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to