-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
The current AsyncCacheWriter is blocking on a few different levels.
It first has a lock to add a modification to its queue, which is able to be configured by the end user. It may even be possible to configure a value so low that if a bulkUpdate is done that is larger than the configured value it may hang (needs to be confirmed).
However this lock can and will block if an async update takes too long and the queue is full of writes. We should at least return a future that is complete when the value is written to the queue instead.
We may want to even use something like https://github.com/IBM/java-async-util with their AsyncSemaphore to handle this queueing in a non blocking way. This however will require https://issues.redhat.com/browse/ISPN-10373 to be implemented first, before it can be made fully non blocking.
- is incorporated by
-
ISPN-10373 Store/Loader Non blocking SPI
- Closed
- relates to
-
ISPN-10309 Convert Remaining Parts to Non Blocking & Reduce Thread Pools
- Closed