flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zentol <...@git.apache.org>
Subject [GitHub] flink issue #4472: FLINK-7368: MetricStore makes cpu spin at 100%
Date Tue, 05 Sep 2017 19:36:33 GMT
Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/4472
  
    I do see the benefit of a more fine-grained synchronization. What I dislike about using
plain ConcurrentHashMaps everywhere is that accesses to the metrics 99% of the time are done
in batches, and I don't really want to pay the synchronization cost every time.
    
    That said, the whole "you have to synchronize manually" is a rather big source of bugs
so we may just have to bite the bullet.


---

Mime
View raw message