Hi all,
I'm using the 0.94 lib for an char servlet under Win2k dual pIII 1ghz server 1GB ram with jdk 1.4.1 and tomcat 4.17.
The chart servlet performs a db query into a DB (MS SQL 7) and draws some charts for the data it recieves. The servlet post it's data as PNG streams (it generates on the fly).
The problem with performace issues comes with the PNG encoder as i have observed. A simple chart (1000 points) takes about 50% from both processors.
So, it's there any way to improve the encoder to consume less cpu?
Maybe i sould use the new JAI apis to work this arround, anyone has any ideea?
Thank you.
R
Performance issues with servlets
Re: Performance issues with servlets
I think percentage CPU utilisation is not a good performance indicator - if nothing else is going on, you will see high CPU percentages. It is more important to note how long the job takes to complete.
I don't have any performance data for the PNG encoder, I chose it simply because it (a) works, and (b) the license is LGPL. There might be better options for high volume server environments.
If anyone has some good performance data for Java image encoders generally, please feel free to post it here...
Regards,
DG
I don't have any performance data for the PNG encoder, I chose it simply because it (a) works, and (b) the license is LGPL. There might be better options for high volume server environments.
If anyone has some good performance data for Java image encoders generally, please feel free to post it here...
Regards,
DG