Redis, my new open source project
Friday, 06 March 09
I think it's the first time I talk of Redis in this blog, but for sure it is not the last: Redis will be the target of my hacking sessions for the next years, I hope.
So what's Redis about? It is a key-value database, but it is a bit different than memcachedb (a persistent version of memcached) and many others, since it's a bit an higher level business. For instance with a many key-value persistent databases you can do things like this:
SET mykey foobar GET mykey DEL mykeyAnd other similar operations in order to make locking free algorithms simpler like set-if-not-exists operations and so on. What's different about Redis is that the value can be a String data type, but even a List or a Set. You can push/pop elements, perform intersections between sets, and so on. For instance:
LPUSH user_100_messages "Indeed, you are right!" LPUSH user_100_messages " .... " LRANGE user_100_messages 0 10The first two operations will push elements into a list, the next one will return the first 10 elements of the list. You can also add/remove elements from Sets, and ask for the intersection of N sets.
The SVN version of Redis supports master <-> slave replication, and I'm working to auto-expire of values. Redis is young but it will improve, and thanks to skilled people we have clients for Ruby, Python , Erlang, and soon PHP.
You can get more information and the source code here: http://code.google.com/p/redis/
If you plan to use it make sure to subscribe to the google groups. Another way to stay updated about Redis progresses is to follow my Twitter account. Every feedback is appreciated.
Do you like this article?
Subscribe to the RSS feed of this blog or use the newsletter service in order to receive a notification every time there is something of new to read here.
Note: you'll not see this box again if you are a usual reader.
Subscribe to the RSS feed of this blog or use the newsletter service in order to receive a notification every time there is something of new to read here.
Note: you'll not see this box again if you are a usual reader.
Comments
23 Dec 10, 03:17:28
More please, this information helped me consider a few more things, keep up the good work. http://www.sunglassescool.com/hermes_neckties-acce...
25 Dec 10, 10:48:32
All the things that you said is true. But bside that, im sure that we have a good relationship with all the people or all the country that used to be our enemy right?
29 Dec 10, 06:54:39
From this site, I know a lot of information bout her and all the schedule that she have in her world tour. So you can choose ypour favorite place to enjoy her concert there. <a href="http://www.bellasdogtreats.co.uk/">Dog Treats</a>
29 Dec 10, 06:55:25
From this site, I know a lot of information bout her and all the schedule that she have in her world tour. So you can choose ypour favorite place to enjoy her concert there. http://www.bellasdogtreats.co.uk/
29 Dec 10, 21:43:53
hi there
i have posted your blog on my site http://www.articlealley.com/article_1924521_45.htm...
Regards
i have posted your blog on my site http://www.articlealley.com/article_1924521_45.htm...
Regards
31 Mar 11, 05:00:31
Readers not only read the books to critize. Many of the readers read the book just to fulfill their curiousity about the content of the book.
http://www.mapleleafpromotions.com/MousePad.html
http://www.mapleleafpromotions.com/MousePad.html
12 Apr 11, 03:32:56
The underlying hypothesis held by Oparin and Haldane was that conditions on the primeval Earth favored chemical reactions that synthesized organic compounds from inorganic precursors.http://www.onlineticketspot.com/concerts/Journey.p...
06 May 11, 19:42:35
http://www.esleepmasters.com/Bathroom_Vanities_s/2...