mone icon indicating copy to clipboard operation
mone copied to clipboard

Optimize trace-etl-es

Open sadadw1 opened this issue 1 year ago • 0 comments

In mone/ozhera-all/trace-etl/trace-etl-es/src/main/java/com/xiaomi/hera/trace/etl/es/consumer/ConsumerService.java, the insertRocks method uses two locks to ensure thread safety. However, based on monitoring observations, these two locks seem to block requests to write into rocksdb, reducing the overall consumption speed. Is it possible to consider removing the locks?

sadadw1 avatar Sep 07 '23 05:09 sadadw1