Cannot handle multiple threads
Hardcore-fs opened this issue · 3 comments
Hardcore-fs commented
Even something like adding/removing multiple records cannot be threaded.
jankotek commented
Could you be more specific?
JDBM3 should be thread safe.
Jan
On 12/06/12 01:37, Hardcore wrote:
Even something like adding/removing multiple records cannot be threaded.
Reply to this email directly or view it on GitHub:
#81
Hardcore-fs commented
I was using it to store url's from a high-speed crawler, fed by 50 threads
I kept getting concurrency warnings from the JVM.
I'm now using "ehcache" and the problems have dissapeared
jankotek commented
It sounds like you got ConcurrentModificationException, which is by design. JDBM3 has fail-fast iterators. Something which should improve in JDBM4