Key-value data stores

These data stores only contain pairs of keys and values. Values can only be retrieved when the key is known.


Redis

Positive

Negative

  1. In memory
  2. Key/value store
  3. Fast response
  4. Modest infrastructure needs
  1. Open source -> need for support/monitoring (support costs linked to the number of shards / nodes)
  2. Low level querying (no sql layer)
  3. Query not distributed (you need to query all nodes if you don't know where the data resides)

Recommended use:
  • Rapidly changing data with a foreseeable database size
  • Real-time applications
 

JBoss Data Grid (Infinispan)

Positive

Negative

  1. Distributed and replicated
  2. Key – value
  3. No fixed data model
  4. Can be used as distributed cache, NoSQL database, and event broker
  5. Highly and easily scalability (add nodes)
  6. Can execute distributed workload (MapReduce)
  1. Maximum storage depend on the amount of memory you can put in the grid

Recommended use:
  • Distributed workload (MapReduce / Streams / ... ) in Java