killme2008/Metamorphosis

MessageIdCache的ConcurrentLRUHashMap实现对消费速度的影响大吗

Opened this issue · 1 comments

锁的粒度有点大啊。
用这个实现会不会更好?http://code.google.com/p/concurrentlinkedhashmap

我觉的不会有太大影响,你消费不可能达到几十万每秒把,这个实现支撑个十几万TPS不难啊。虽然我没测试。

2013/7/15 wq163 notifications@github.com

锁的粒度有点大啊。
用这个实现会不会更好?http://code.google.com/p/concurrentlinkedhashmap


Reply to this email directly or view it on GitHubhttps://github.com//issues/81
.

庄晓丹
Email: killme2008@gmail.com xzhuang@avos.com
Site: http://fnil.net
Twitter: @killme2008