FleetDB (via) Yet Another Key-Value Store: Schema-free, JSON protocol, everything cached in RAM, append-only log for durability, multi-record transactions... but what’s really interesting about this one is that it’s written in Clojure and takes full advantage of that language’s concurrency primitives. The prefix operators used by the select API hint at its Lisp heritage.
Does this one have the same lame limitation that redis has where your entire dataset _must_ fit in memory, even though it's persisted to disk? That's been the deal breaker for me recently every time I've looked at redis.
Mike Malone - 5th January 2010 16:51 - #
I think so - or at least you need to fit in RAM unless you want to swap like crazy.
For the kind of things I want to do with Redis, that hasn't bothered me at all. For the MP's expenses project the only thing I was storing in Redis were sets of IDs - the actual data was elsewhere - so Redis became a tool for doing ID intersections and grabbing random items. I've also used Redis for experimenting with statistics applications, where again I'm not storing data, just managing a bunch of incrementing counters.
Likewise, I'm excited about the possibilities of implementing activity streams in Redis. Each user gets an "inbox" which is a Redis list, then the ID of each new activity by one of their friends are appended on to those lists. The details of those activities can live somewhere else - the benefit of Redis is that someone with 20,000 followers can still have their actions written out to all of those inboxes in a quarter of a second.
Redis author @antirez has been talking about adding "virtual memory" to Redis for a while, at which point the RAM limitation should be less of a problem - but so far I've found there are a ton of problems I can throw Redis at for which speed of reads and writes, not size of actual data, is the killer consideration.
Robert - 7th September 2011 14:59 - #
Play infomrtaive for me, Mr. internet writer.
Lola - 22nd September 2011 18:24 - #
I'm so glad that the internet aolwls free info like this!
Lina - 8th October 2011 15:56 - #
Boom shakalaka boom boom, problem soelvd.
Lakeisha - 10th October 2011 06:22 - #
ugg pas cher - 27th October 2011 03:07 - #
flapwer - 27th October 2011 14:20 - #
Video Converter - 28th October 2011 13:28 - #
Groundless - 1st November 2011 06:00 - #