1

I'm developing a GridDB application that uses multithreading and am experiencing random exceptions and deadlocks. Is the Java client thread safe?

And for those curious, here is the GridDB product page: https://griddb.net

Codelicious
  • 355
  • 1
  • 10
L. Connell
  • 81
  • 7

1 Answers1

0

Are you using the same GridStore instance for multiple threads? A single Gridstore instance is not thread safe. Please refer to the following:

http://griddb.org/griddb_nosql/manual/GridDB_API_Reference.html#GridStoreFactory.html__ "... since thread safety is not guaranteed for GridStore itself, it is not allowed to call a method of a single GridStore instance from two or more threads at an arbitrary time."

Gopheritis
  • 72
  • 5