Hi
What is the best option to do in performance wise in order to delete the chart images? I want to delete the chart images in order stop growing images in server. If I use session as in below link
http://geekswithblogs.net/devin/archive/2006/08/09/87482.aspx
means will there any performance affected/decreased? I want to know what are the advantages/disadvantages for both session and file system especially in performance wise. Let me clarify to proceed further. Thanks in advance.
Sridhar
In session deployment, chart images are stored in the session state, which will use more memory (RAM) on the server while the charts are being delivered to the client, if session state is stored in the process memory (this is the default behavior). if multiple web servers are being used, session state must be stored using Sql Server or an ASP.NET state server.
there is also a slight increase in CPU usage since the SecureImagePipe control must execute some code to fetch the images out of the session state and stream them through the .aspx page.
since file system deployment requires disk writes, the performance is dependent on the read/write speeds of the hdd.
so the specs of your web server(s) can determine which solution is better, and if you really want to find the best option, you should use a load testing tool. i think you'll find the two methods are quite close in terms of overall performance.
Hai
I am having lot of graphs in my website(Max limit set 100 for every graph - Auto clear)How can we delete the growing images inside chartimages folder? Can I clear the images using code while page loads every time or while clicking signout for a user? What is the best way to clear the images in order to stop growing the images? Can you suggest best way to do?
Thanks