Hi all,

here's my situation:
My application retrieves values (say v) from a database, calculates another values (say w), and writes this back to the database. I use threads, that work concurrently. I implemented a very simple caching with a HashMap that is used by all threads for caching v. Using this simple caching my application runs approximately 2.5 hours.

Then, I stumbled upon JCS. I use JCSWorker and JCSWorkerHelper. Now, using this implementation for caching the v values, the application runs more than 20 hours for the same work.
Am I doing something badly wrong?

Kind regards,
Andreas

--
Andreas Schlicker, M.Sc.
Max-Planck-Institute for Informatics
Department 3: Computational Biology and Applied Algorithmics
Stuhlsatzenhausweg 85
66123 Saarbruecken
Germany

Phone: +49 681 9325 321
Fax: +49 681 9325 399
Homepage: http://www.mpi-inf.mpg.de/~schlandi

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to