Hi, developer guide (Developer Guide — FoundationDB 7.1) mention this advice:
Blocking on anything else or performing CPU intensive tasks will block the FoundationDB client thread and therefore all database access from that client.
What is FoundationDB client thread
? Is it the thread of the underlying C library?
I noticed that in Java (specifically) client API, the native (C)
library future will schedule a future on the some Java executor (and further callbacks on those operations are called via this executor’s threads); so my question is - is it possible to block the FoundationDB client thread
in manner mentioned in dev guide? If so, can someone please post a small example to demonstrate it?
–
thanks,
gaurav