Answered by:
The problem about ChartImageHandler Parameter file, memory and session

Question
-
I wonder the details about what different between ChartImageHandler Parameter file, memory and session.
1. memory: Store the rendered chart images in the memory space of the running process. Do not use this option in a server cluster or a multiple-process site.
What does mean "Do not use this option in a server cluster or a multiple-process site." ? I upload my chart website to a hosting ? how can I know if the hosting use server cluster or a multiple-process?
2. Does a website with ms chart control run fast when I use Session or Memory Parameter?3. When I use Session or memory Parameter, does it mean Store the rendered chart images in the memory and I needn't add the Parameter dir=c:\TempImageFiles\ ?
4. What different between Session or Memory Parameter? in my mind, a session variable stored data in memory.
Random number generator software | Hot Help Desk | Unzip multiple files | Online create chart and graph- Edited by CUI WEI Monday, June 22, 2009 11:25 PM
Monday, June 22, 2009 11:03 PM
Answers
-
That's right.
- Marked as answer by DelianTModerator Tuesday, July 7, 2009 4:54 PM
Tuesday, July 7, 2009 4:54 PMModerator
All replies
-
Could you help me? Thanks!
Random number generator software | Hot Help Desk | Unzip multiple files | Online create chart and graphTuesday, June 23, 2009 2:27 PM -
Hi Cui,I will try to give you some answers:1. memory: Store the rendered chart images in the memory space of the running process. Do not use this option in a server cluster or a multiple-process site.What does mean "Do not use this option in a server cluster or a multiple-process site." ? I upload my chart website to a hosting ? how can I know if the hosting use server cluster or a multiple-process?From developer point of view there is not to much difference between web farm (server cluster) and web garden (multiple woeker process) web app setup.The basic idea behind both web setups is that if one process die the work load can be taken from other process without interruption.Also you know that different processes (app domains) cannot share local memory. If one chart is saved in the local memory this chart is accessible only from the same process saved the chart. This is fast and goo solution for small intranet sites. You should ask your hosting service provider what is the setup which they use, but for small limited services you should have only one process.2. Does a website with ms chart control run fast when I use Session or Memory Parameter?Depends of the session storage: The session can have similar like chart storage: in process memory, out of process memory (dedicated session server), sql server, custom storage , etc. In process memory is faster but after process recycling everything is lost.3. When I use Session or memory Parameter, does it mean Store the rendered chart images in the memory and I needn't add the Parameter dir=c:\TempImageFiles\ ?No4. What different between Session or Memory Parameter? in my mind, a session variable stored data in memory.See 3.Regards,Delian
- Proposed as answer by DelianTModerator Tuesday, June 23, 2009 6:09 PM
Tuesday, June 23, 2009 6:08 PMModerator -
Thank you very much!
1. When I use Session or memory Parameter, I needn't add the Parameter dir=c:\TempImageFiles\ , right?
2. For small website with MS Chart (Because small limited services have only one process normally), I can use memory parameter, it's fast, right?
Random number generator software | Hot Help Desk | Unzip multiple files | Online create chart and graphTuesday, June 23, 2009 11:37 PM -
Thank you very much!
1. When I use Session or memory Parameter, I needn't add the Parameter dir=c:\TempImageFiles\ , is it right?
2. For small website with MS Chart (Because small limited services have only one process normally), I can use memory parameter, it's fast, is it right?
Random number generator software | Hot Help Desk | Unzip multiple files | Online create chart and graphWednesday, June 24, 2009 11:15 PM -
That's right.
- Marked as answer by DelianTModerator Tuesday, July 7, 2009 4:54 PM
Tuesday, July 7, 2009 4:54 PMModerator