Chronicle Map
Realm
Our great sponsors
Chronicle Map | Realm | |
---|---|---|
4 | 3 | |
2,684 | 11,443 | |
0.7% | 0.1% | |
8.4 | 6.8 | |
7 days ago | 5 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Chronicle Map
-
GC, hands off my data!
I decided to start with an overview of what open-source options are currently available. When it comes to the implementation of the on-heap cache mechanism, the options are numerous – there is well known: guava, ehcache, caffeine and many other solutions. However, when I began researching cache mechanisms offering the possibility of storing data outside GC control, I found out that there are very few solutions left. Out of the popular ones, only Terracotta is supported. It seems that this is a very niche solution and we do not have many options to choose from. In terms of less-known projects, I came across Chronicle-Map, MapDB and OHC. I chose the last one because it was created as part of the Cassandra project, which I had some experience with and was curious about how this component worked:
-
Off-heap memory in Java
Chronicle-Map: Chronicle Map is an in-memory, key-value store, designed for low-latency, and/or multi-process applications.
-
Solution for hash-map with >100M values
I've wrangled data sets in the ~600gb range using nothing but plain old Java and a few beefy boxes. This can all be kept in memory, but you have to go off-heap. You can use Chronicle Map and Chronicle Values to model this data and work with it off-heap in a way that's still very clean and object oriented. 128gb of RAM is cheap these days, whether you're in the cloud or not.
Realm
-
Prepare your Android Project for Android Gradle plugin 8.0 API changes
I see "transform APIs will be removed" and then i remember how Realm used it quite heavily, but apparently they will update Realm to use it except this will force EVERYONE to start using Realm 10.13.0.
-
20+ Trending and Popular Java Open Source Project
Realm
- How can I use realm?
What are some alternatives?
MapDB - MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. It is a fast and easy to use embedded Java database engine.
Apache Hive - Apache Hive
Redisson - Redisson - Easy Redis Java client and Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring Cache, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache ...
ormlite - ORMLite Android functionality used in conjunction with ormlite-core
JetBrains Xodus - Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub.
couchbase-lite-android - Lightweight, embedded, syncable NoSQL database engine for Android.
H2 - H2 is an embeddable RDBMS written in Java.
Jedis - Redis Java client
greenDAO - greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
Speedment - Speedment is a Stream ORM Java Toolkit and Runtime
android-database-sqlcipher - Android SQLite API based on SQLCipher