Usually we incorporate caching on systems specifically designed to do the caching in system RAM. In our case we use a Load Balancers to performing the caching operations so the request doesn't even go back to IIS to begin with.
If you are talking about optimization of high use systems then there are many options. I like storing data in the database, but most of the things I deal with aren't high in image resources. Caching things off to disk is great but then you are taking up system resources by updating the disk and run the potential risk of having some systems not having the same image at the same time. You can use a networked file server for a single source for images, but then you add on additional complexity. If you are trying to setup globally redundant systems, and transferring images between two locations that occurs and a time that is different than sync of the database tables, then you run into more issues. > -----Original Message----- > From: Adam Churvis [mailto:[EMAIL PROTECTED] > Sent: Monday, February 19, 2007 3:19 PM > To: CF-Community > Subject: Re: Storing images in DB. > > Nick, > > But RAM -- even virtual RAM -- has a relatively limited capacity, so > its usefulness for image caching is very limited unless you're > employing a joint system of memory-cached keys pointing to disk-cached > files. And even these can become quickly saturated in image-intensive > systems. > > Many times people think their memory caching is working like a charm > until they monitor their system metrics and see that they're not using > physical RAM the way they thought they were, which sometimes results in > less performance than if they were simply serving directly from disk. > This is assuming a typical 32-bit system. > > Respectfully, > > Adam Phillip Churvis > Certified Advanced ColdFusion MX 7 Developer > BlueDragon Alliance Founding Committee ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/ Archive: http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:228374 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5