RocksDB Java Concurrency

27 views
Skip to first unread message

Matt Hicks

unread,
May 31, 2024, 9:12:57 AMMay 31
to rocksdb
When I try to use the RocksDB concurrently I get JVM crashes. Is there any way to safely do concurrency with the Java wrapper?

Nicolae Mihalache

unread,
Jun 13, 2024, 7:11:05 AMJun 13
to rocksdb
I'm not familiar with scala to understand what your code is doing but I believe RocksDB iterators are not thread safe.

You can run concurrently two iterators, each with its own thread..
Reply all
Reply to author
Forward
0 new messages