Hi all,
I have done some further work on my gsoc project.
I gave a try to make implementation thread safe, and just fixed a couple of
bugs. There is now a unit test named ConcurrentAccessTest for this. You can
change the variable <code>hardest </code> to true to run the test with
increased concurrency, and it should now work well.
There is also a graphical demo named DemoApp : it shows the content of the
cache, while a number of threads are querying the cache. Green boxes are
valid nodes inside the cache, and blue boxes are queries issued to the
cache.
Finally, I coded a benchmark to compare performance between different
settings. The app is simply named BenchMark, and can be run as a simple java
app.
Further work would tackle with :
. write-thru cache
. disconnectable cache
. implementing other kind of spatial indexes (quadtree, r-tree) the cache
relies on.
The first two items should be quite straight forward.
Cheers,
Christophe
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel