Questions tagged [key-value-store]

Key/Value stores allow the application to store its data by composing `(key, value)` pairs.

Key/Value stores allow the application to store its data in a schema-less way.

The data can be stored in a datatype of a programming language or an object. Because of this, there is no need for a fixed data model.

The following types exist:

  • Eventually consistent;
  • Hierarchical;
  • Cache in RAM;
  • Solid state or rotating disk;
  • Ordered.

Source:http://en.wikipedia.org/wiki/NoSQL#Key.E2.80.93value_stores

555 questions
194
votes
15 answers

What scalability problems have you encountered using a NoSQL data store?

NoSQL refers to non-relational data stores that break with the history of relational databases and ACID guarantees. Popular open source NoSQL data stores include: Cassandra (tabular, written in Java, used by Cisco, WebEx, Digg, Facebook, IBM,…
knorv
  • 49,059
  • 74
  • 210
  • 294
157
votes
11 answers

Lightweight Javascript DB for use in Node.js

Anybody know of a lightweight yet durable database, written in Javascript, that can be used with Node.js. I don't want the 'weight' of (great) solutions like Mongo or Couch. A simple, in memory JS database with the capability to persist to disk as…
ConfusedNoob
  • 9,826
  • 14
  • 64
  • 85
94
votes
2 answers

What is the purpose of colons within Redis keys

I'm learning how to use Redis for a project of mine. One thing I haven't got my head around is what exactly the colons are used for in the names of keys. I have seen names of key such as these: users:bob color:blue item:bag Does the colon separate…
Ryan
  • 3,726
  • 3
  • 26
  • 38
58
votes
5 answers

How is aerospike different from other key-value nosql databases?

Aerospike is a key-value, in-memory, operational NoSQL database with ACID properties which support complex objects and easy to scale. But I have already used something which does absolutely the same. Redis is also a key-value, in-memory (but…
Salvador Dali
  • 214,103
  • 147
  • 703
  • 753
54
votes
5 answers

Redis Multi-Set With a TTL

In redis there is a SETEX command that allows me to set a key that expires, is there a multi-set version of this command that also has a TTL? both MSET and MSETNX commands do not have such an option.
Ian
  • 24,116
  • 22
  • 58
  • 96
45
votes
6 answers

What's the attraction of schemaless database systems?

I've been hearing a lot of talk about schema-less (often distributed) database systems like MongoDB, CouchDB, SimpleDB, etc... While I can understand they might be valuable for some purposes, in most of my applications I'm trying to persist objects…
Chet
  • 21,375
  • 10
  • 40
  • 58
39
votes
7 answers

Key: value store in Python for possibly 100 GB of data, without client/server

There are many solutions to serialize a small dictionary: json.loads/json.dumps, pickle, shelve, ujson, or even by using sqlite. But when dealing with possibly 100 GB of data, it's not possible anymore to use such modules that would possibly rewrite…
Basj
  • 41,386
  • 99
  • 383
  • 673
36
votes
5 answers

Fastest, non-memory-based, multi-process key-value store for Node.js

What is the fastest non-memory key-value store for Node.js supporting multiple processes? I need to store simple key-value string/string pairs (not documents or JSON, just strings). Here are some examples (there would be millions of…
Ruben Verborgh
  • 3,545
  • 2
  • 31
  • 43
33
votes
1 answer

Why Apache Kafka Streams uses RocksDB and if how is it possible to change it?

During investigation within new features in Apache Kafka 0.9 and 0.10, we had used KStreams and KTables. There is an interesting fact that Kafka uses RocksDB internally. See Introducing Kafka Streams: Stream Processing Made Simple. RocksDB is not…
31
votes
2 answers

Postgres Hstore vs. Redis - performance wise

I read about HStores in Postgres something that is offered by Redis as well. Our application is written in NodeJS. Two questions: Performance-wise, is Postgres HStore comparable to Redis? for session storage, what would you recommend--Redis, or…
jribeiro
  • 3,387
  • 8
  • 43
  • 70
28
votes
1 answer

What are Riak advantages for Redis Key-Value store?

I have come across Riak being used as Key-Value store in major corporations. Wondering what are its distinguished features from popular Key-Value store like Redis?
Cast Away
  • 768
  • 1
  • 7
  • 11
27
votes
3 answers

Storing object properties in redis

Lets say I have an object (User) which consists of a few properties (ID, Name, Surename, Age). Which way is better to store this object in redis? store each property value in dedicated key, for example user:{id}:id, user:{id}:name,…
yojimbo87
  • 65,684
  • 25
  • 123
  • 131
26
votes
0 answers

Range query on kyoto cabinet using Java API

I am interested in using kyotocabinet key-value store and I want to preform a range query preferably with a bulk interface (returning byte array). I checked kyotocabinets Java API and I couldn't find any particular method to do this. As range…
Ali Salehi
  • 6,899
  • 11
  • 49
  • 75
20
votes
2 answers

What's the difference between ZooKeeper and any distributed Key-Value stores?

I am new to zookeeper and distributed systems, and am learning it myself. From what I understand for now, it seems that ZooKeeper is simply a key-value store whose keys are paths and values are strings, which is nothing different from, say, Redis.…
OneZero
  • 11,556
  • 15
  • 55
  • 92
19
votes
2 answers

How to store array of hashes in redis

I want to store array of hashes in redis , what is best way to code it ?
XMen
  • 29,384
  • 41
  • 99
  • 151
1
2 3
36 37