MapDB VS Jedis

Compare MapDB vs Jedis and see what are their differences.

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. (by jankotek)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
MapDB Jedis
5 4
4,829 11,592
- 0.7%
0.0 9.1
3 months ago 7 days ago
Java Java
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

MapDB

Posts with mentions or reviews of MapDB. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-27.
  • GC, hands off my data!
    6 projects | dev.to | 27 Oct 2023
    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:
  • Permazen: Language-natural persistence to KV stores
    6 projects | news.ycombinator.com | 19 Sep 2023
    So, it's an object database, like Zope's ZODB on Python?

    I like the idea, but I'd like to learn about use cases for it.

    Otherwise, in Java, MapDB is about as far as I'd be willing to go: https://github.com/jankotek/mapdb/

  • what is the best persistent collection library?
    5 projects | /r/java | 2 Sep 2022
    Anyway, without further ado, I found MapDB (https://github.com/jankotek/mapdb) which does exactly that. Of course, they also provide their own Java collection implementations as well, so I suspect using it with Vavr would be a poor idea, but it is very cool in its own right anyway. Of course, there is also Apache Derby and HSQLDB, and those great options with a long history as well. I haven't played with these in a while though, so I might give them a try again soon for some personal stuff.
  • Ask HN: What are the best key-value self-hosted storage engines?
    5 projects | news.ycombinator.com | 31 Mar 2022
    In Java I like

    https://mapdb.org/

    It is more feature rich than you want but in Python I'd probably just use sqlite3 since it is in the standard library.

  • Solution for hash-map with >100M values
    7 projects | /r/java | 21 Dec 2020
    I have had good results with mapdb

Jedis

Posts with mentions or reviews of Jedis. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-02.
  • Lessons learned from picking a Java based driver for Amazon ElastiCache for Redis - Part 1
    3 projects | dev.to | 2 Feb 2023
    Finding out what's causing that was not that simple as Jedis does not write a lot of log information when the log level is set to debug. From what we could tell from the Jedis source code it seems that when the Jedis client connects to the configuration endpoint it fetches all known hosts. It stores that in a local cache and figures out the primary node from the set of nodes. Once the primary node is known it will execute operations against the primary node. It does so by connecting to the Amazon-generated domain name/entry and when that entry is down / unreachable it seems it does not use the configuration endpoint to rediscover the nodes or fetch the new cluster topology. We initially thought this had to do with the DNS caching of the JVM, so we also tried to disable caching, but we did not see any effect after that change.
  • Removies
    5 projects | dev.to | 28 Aug 2022
    jedis is used to interact with Redis.
  • Stop using noargsconstructors and setters (and builders)
    1 project | /r/java | 1 Dec 2021
  • Uma abordagem diferenciada à Sessões de Usuário em Microsserviços usando Redis
    1 project | dev.to | 4 Feb 2021
    Como um bônus, deixo aqui uma classe SessionManager pra ajudar na implementação em Java usando Jedis e o gerador de token do Tomcat, que já é normalmente incluído no Spring Boot:

What are some alternatives?

When comparing MapDB and Jedis you can also consider the following projects:

Chronicle Map - Replicate your Key Value Store across your network, with consistency, persistance and performance.

Redisson - Redisson - Easy Redis Java client with features of In-Memory Data Grid. 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 ...

H2 - H2 is an embeddable RDBMS written in Java.

HikariCP - 光 HikariCP・A solid, high-performance, JDBC connection pool at last.

JetBrains Xodus - Transactional schema-less embedded database used by JetBrains YouTrack and JetBrains Hub.

EVCache - A distributed in-memory data store for the cloud

Exposed - Kotlin SQL Framework

SQLDelight - SQLDelight - Generates typesafe Kotlin APIs from SQL

jOOQ - jOOQ is the best way to write SQL in Java