You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by QQ <wo...@qq.com.INVALID> on 2023/09/06 04:22:58 UTC

[DISCUSS] Replace Customized Map with ConcurrentHashMap

Hi Pulsar Community,

I’d like to start a discussion about whether replacing the customize util class like ConcurrentOpenHashMap with ConcurrentHashMap, as the performance of ConcurrentHashMap is better than those customize util significantly. 
Worse, these customize util class cannot ensure consistence in method forEach as PR https://github.com/apache/pulsar/pull/21110 shows, which is disquieting, although it may not cause any problem.

Thanks,
The Tumbled.