the `synchronized` in DataLoader
dugenkui03 opened this issue · comments
dugenkui commented
I guess the reason of usage synchronized
is ensure the consistency of operation on loaderQueue
,StatisticsCollector
, CacheMap
.
Remove the synchronized
and make the concrete implementation of loaderQueue
,StatisticsCollector
, CacheMap
to ensure the consistency, will be more flexible and can afford higher throughput.