mone
mone copied to clipboard
Optimize trace-etl-es
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?