peng-yongsheng commented on issue #1032: Collector performance optimization
URL: 
https://github.com/apache/incubator-skywalking/issues/1032#issuecomment-379450223
 
 
   ### Report digest
   ```
   metric name: /persistence, avg: 372859, rate: 0, calls: 100039, total: 37(s)
   metric name: /segment/parse, avg: 274427, rate: 0, calls: 56000, total: 15(s)
   metric name: /persistence/get, avg: 2828750, rate: 0, calls: 4464, total: 
12(s)
   ```
   Those points could be a source of performance bottlenecks.
   
   ### Performance optimization
   #### Segment parse
   - Change cache component from Guava to Caffeine, [ Caffeine's 
Benchmarks](https://github.com/ben-manes/caffeine/wiki/Benchmarks#read-100)
   ```
   metric name: /persistence, avg: 194719, rate: 0, calls: 98341, total: 19(s)
   metric name: /segment, avg: 257264, rate: 0, calls: 56520, total: 14(s)
   metric name: /persistence/get, avg: 1587150, rate: 0, calls: 4032, total: 
6(s)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to