key-value-store

Distributed Key/Value Stores that can run on Windows, and have .Net clients?

别等时光非礼了梦想. 提交于 2019-12-11 10:44:16
问题 As the title says, does anyone know of any Distributed Key/Value Stores that can run on Windows, and have .Net clients? Thank you Update: Sorry, forgot to add that it needs to be persisted. 回答1: You can use MongoDB, CouchDB or Cassandra. They are more than a key-value-store but they do run on windows and have .net clients. 回答2: Membase is a distributed key-value store that supports Windows and has a .NET client (Enyim). 回答3: App Fabric is Microsoft's solution. RavenDB can probably act as a

Key/Value distributed database for caching binary data

℡╲_俬逩灬. 提交于 2019-12-11 09:32:48
问题 I am looking for distributed kv database for caching small binary objects, like images with TTL. Size limitation is not a problem, as I am planning to split each object anyway, to minimize latency. I need C# and Java drivers, and in very near future I will also need C++ driver. The databases like CouchDb and Redis seems to be document based. Mongo supports binary data and well documented, but it is persistent and I am not sure it is scalable in terms of throughput , Cassandra is also

Work with keys in redis

南楼画角 提交于 2019-12-11 01:03:51
问题 I am a new in Redis and key-value database. Could you advise me about correct realization this relational approach in redis. I have relational table with two key to one value: -master_id; -slave_id; -value. Example: master_id | slave_id | value 1 | 1 | val1 2 | 1 | val2 Usually access to values is done by master_id field, but sometimes it is necessary make selection (or deleting) by slave_id field. Thus we can obtain a single value by two fields (master_id or slave_id). In redis, as I

How to store array of hashes in redis

余生颓废 提交于 2019-12-09 14:18:38
问题 I want to store array of hashes in redis , what is best way to code it ? 回答1: The only way AFAIK is to de-reference them. Say you have an array of 2 hashes like: {foo: 'bar', baz: 'qux'} . You'd store them separately, and then create a SET that references them all: HMSET myarr:0 foo bar baz qux SADD myarr myarr:0 HMSET myarr:1 foo bar baz qux SADD myarr myarr:1 Then you can retrieve them all by querying the set: SMEMBERS myarr and then call HGETALL <key> on all the returned keys to rebuild

What happens to a Redis data store if the data exceeds available ram? [duplicate]

我的梦境 提交于 2019-12-08 19:36:17
问题 This question already has answers here : What does Redis do when it runs out of memory? (7 answers) Closed 2 years ago . What happens to a Redis data store if the data exceeds available ram? 回答1: I think there is a store size setting in redis config that will stop you adding more data than can fit in the store you have set up. If you set up a store that doesn't fit in physical memory, it will simply ask the OS for more memory and some of it will be paged to disk, with obvious performance

Transforming (Synchronizing) Data between SQL to HBase

巧了我就是萌 提交于 2019-12-08 07:08:41
问题 We are overhauling our product by completely moving from Microsoft and .NET family to open source (well one of the reasons is cost cutting and exponential increase in data). We plan to move our data model completely from SQL Server (relational data) to Hadoop (the famous key-Value pair ecosystem). In the beginning, we want to support both versions (say 1.0 and new v2.0). In order to maintain the data consistency, we plan to sync the data between both systems, which is a fairly challenging

GWAN Key-Value persistent store

二次信任 提交于 2019-12-07 19:24:49
问题 I want to use the GWAN API Key-Value to record and read a number of data (in a multi-threaded way). The problem is that my recordings are only available on the current page and therefore can not be used on my other pages. Can you show me an example or explain how to create a persistent KV store (which will be accessible on all my subdomains) ? Here is an example that I currently use: kv_t store; kv_init(&store, "users", 10, 0, 0, 0); kv_item item; item.key = "pierre"; item.klen = sizeof(

GWAN Key-Value persistent store

☆樱花仙子☆ 提交于 2019-12-06 05:30:46
I want to use the GWAN API Key-Value to record and read a number of data (in a multi-threaded way). The problem is that my recordings are only available on the current page and therefore can not be used on my other pages. Can you show me an example or explain how to create a persistent KV store (which will be accessible on all my subdomains) ? Here is an example that I currently use: kv_t store; kv_init(&store, "users", 10, 0, 0, 0); kv_item item; item.key = "pierre"; item.klen = sizeof("pierre") - 1; item.val = "pierre@example.com"; item.flags = 0; kv_add(&store, &item); char *p = kv_get(

Write heavy, replicated, bigger-than-memory key-value store

跟風遠走 提交于 2019-12-06 02:50:00
问题 I'm looking for a key value store that can be used from an EC2 instance. item is just an unstructured string, no indexing required item size up to ~5MB but usually below 10kB lots of writes reading doesn't need to be fast, memcache can be put in front that caches frequently needed reads data is too big to fit into memory Eventual Consistency is fine daemon that can be accessed from multiple machines is required Ideally something AWS hosted would be perfect but: S3 doesn't fit because of too

In Kyoto Cabinet Database using File Hash Database, how can avoid file size increasing?

空扰寡人 提交于 2019-12-05 01:43:10
问题 I am using the follow to open: db.open("db.kch#tune_defrag=10000", DB.OWRITER | DB.OCREATE) I am putting and removing elements. At the end of execution, the database is "empty", the count() function returns 0, because I remove all elements. Why the file size always increase when I repeat the test? Is it possible to run something like "garbage collector" to clean the removed registers? If I execute the same test 100 times, I have a 500 MB size database, even I have only 2 records. I tried to