Need advice about which tool to choose?Ask the StackShare community!

MapDB

7
34
+ 1
0
Redis

42.1K
31.4K
+ 1
3.9K
Add tool

Redis vs MapDB: What are the differences?

What is Redis? An in-memory database that persists on disk. Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

What is MapDB? Concurrent Maps, Sets and Queues backed by disk storage or off-heap-memory. MapDB provides Java Maps, Sets, Lists, Queues and other collections backed by off-heap or on-disk storage. It is a hybrid between java collection framework and embedded database engine. It is free and open-source under Apache license.

Redis and MapDB can be primarily classified as "In-Memory Databases" tools.

Redis is an open source tool with 38.2K GitHub stars and 14.7K GitHub forks. Here's a link to Redis's open source repository on GitHub.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of MapDB
Pros of Redis
    Be the first to leave a pro
    • 875
      Performance
    • 535
      Super fast
    • 511
      Ease of use
    • 441
      In-memory cache
    • 321
      Advanced key-value cache
    • 190
      Open source
    • 179
      Easy to deploy
    • 163
      Stable
    • 153
      Free
    • 120
      Fast
    • 40
      High-Performance
    • 39
      High Availability
    • 34
      Data Structures
    • 32
      Very Scalable
    • 23
      Replication
    • 20
      Great community
    • 19
      Pub/Sub
    • 17
      "NoSQL" key-value data store
    • 14
      Hashes
    • 12
      Sets
    • 10
      Sorted Sets
    • 9
      Lists
    • 8
      BSD licensed
    • 8
      NoSQL
    • 7
      Async replication
    • 7
      Integrates super easy with Sidekiq for Rails background
    • 7
      Bitmaps
    • 6
      Open Source
    • 6
      Keys with a limited time-to-live
    • 5
      Strings
    • 5
      Lua scripting
    • 4
      Awesomeness for Free!
    • 4
      Hyperloglogs
    • 3
      outstanding performance
    • 3
      Runs server side LUA
    • 3
      Networked
    • 3
      LRU eviction of keys
    • 3
      Written in ANSI C
    • 3
      Feature Rich
    • 3
      Transactions
    • 2
      Data structure server
    • 2
      Performance & ease of use
    • 1
      Existing Laravel Integration
    • 1
      Automatic failover
    • 1
      Easy to use
    • 1
      Object [key/value] size each 500 MB
    • 1
      Simple
    • 1
      Channels concept
    • 1
      Scalable
    • 1
      Temporarily kept on disk
    • 1
      Dont save data if no subscribers are found
    • 0
      Jk

    Sign up to add or upvote prosMake informed product decisions

    Cons of MapDB
    Cons of Redis
      Be the first to leave a con
      • 14
        Cannot query objects directly
      • 2
        No secondary indexes for non-numeric data types
      • 1
        No WAL

      Sign up to add or upvote consMake informed product decisions

      - No public GitHub repository available -

      What is MapDB?

      MapDB provides Java Maps, Sets, Lists, Queues and other collections backed by off-heap or on-disk storage. It is a hybrid between java collection framework and embedded database engine. It is free and open-source under Apache license.

      What is Redis?

      Redis is an open source, BSD licensed, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.

      Need advice about which tool to choose?Ask the StackShare community!

      What companies use MapDB?
      What companies use Redis?
        No companies found
        See which teams inside your own company are using MapDB or Redis.
        Sign up for Private StackShareLearn More

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with MapDB?
        What tools integrate with Redis?

        Sign up to get full access to all the tool integrationsMake informed product decisions

        Blog Posts

        Nov 20 2019 at 3:38AM

        OneSignal

        +8
        8
        3895
        Jun 6 2019 at 5:11PM

        AppSignal

        +9
        15
        1141
        +17
        33
        29886
        What are some alternatives to MapDB and Redis?
        MongoDB
        MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
        RocksDB
        RocksDB is an embeddable persistent key-value store for fast storage. RocksDB can also be the foundation for a client-server database but our current focus is on embedded workloads. RocksDB builds on LevelDB to be scalable to run on servers with many CPU cores, to efficiently use fast storage, to support IO-bound, in-memory and write-once workloads, and to be flexible to allow for innovation.
        LevelDB
        It is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values. It has been ported to a variety of Unix-based systems, macOS, Windows, and Android.
        Lucene
        Lucene Core, our flagship sub-project, provides Java-based indexing and search technology, as well as spellchecking, hit highlighting and advanced analysis/tokenization capabilities.
        Ehcache
        Ehcache is an open source, standards-based cache for boosting performance, offloading your database, and simplifying scalability. It's the most widely-used Java-based cache because it's robust, proven, and full-featured. Ehcache scales from in-process, with one or more nodes, all the way to mixed in-process/out-of-process configurations with terabyte-sized caches.
        See all alternatives