43

Java: ChronicleMap, Part 1: Go Off-Heap

 4 years ago
source link: https://www.tuicool.com/articles/IZbAfqa
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Filling up a HashMap with millions of objects will quickly lead to problems such as inefficient memory usage, low performance, and garbage collection issues. Learn how to use off-heap CronicleMap that can contain billions of objects with little or no heap impact.

The built-in Map implementations, such as HashMap and ConcurrentHashMap, are excellent tools when we want to work with small to medium-sized data sets. However, as the amount of data grows, these Map implementations are deteriorating and start to exhibit a number of unpleasant drawbacks as shown in this first article in an article series about open-sourced ChronicleMap.

收藏 纠错
相关微博 ()
我来评几句
错误
登录后评论

已发表评论数()

没有更多评论了^^
评论加载失败,重新加载

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK