锁条的应用领域 [英] Application area of lock-striping

查看:130
本文介绍了锁条的应用领域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

JDK的ConcurrentHashMap使用锁定条带技术。这是一个不错的想法,以尽量减少锁定开销。是否有任何其他图书馆或工具利用它?
例如,数据库引擎是否使用它?

The ConcurrentHashMap of JDK uses a lock-striping technique. It is a nice idea to minimize locking overhead. Are there any other libraries or tools that take advantage of it? For example, does database engine use it?

如果该技术在其他领域不太有用,那么它的局限性是什么?

If the technique is not so much useful in other areas, what is the limitation of it?

推荐答案

查看无阻塞的近FIFO 。

Have a look at Non-blocking almost FIFO.

这篇关于锁条的应用领域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆