EVALUATION
performance problem is mainly due to using hundreds of different versions, and the policy in DiskCache.java of
1.) storing versioned resources under a directory named for the version.
2.) accessing all versions of a resource before deciding which is best to satisfy a version string specification, and
3.) accessing the entire Cache Object of each resource, instead of just it's version string.
As a result of this, for each request to check for the existance of a version of a resource, all version directorys must be checked.
I have created a local test program to illustrate the problem:
http://oklahoma.east/jnlp-servlet/deployment/javaws/stress/stress.html
The redesign of the cache in Mustang will address this problem, but we should also address it in the curent cache design, so it can be backported to earlier releases.
###@###.### 2004-12-06 19:08:02 GMT
|