<antirez>

antirez 6465 days ago. 28775 views.


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 mykey

And 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 10

The 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.

Originally published on oldblog.antirez.com on 6 March 2009.

10 comments from the original post

bathroom vanities 16 Dec 2010
This university make an exhibiotion to every picture that captured by its students. This is good and make all the students have a good confidance in everything they work. Its a good way to appreciate their activity.
http://www.esleepmasters.com/Bathroom_Vanities_s/2305.htm
play bingo 25 Dec 2010
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?
maltruGens 29 Dec 2010
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>
Dog Treats 29 Dec 2010
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/
Hoa 25 Mar 2011
htt1
cheap journey tickets 12 Apr 2011
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.php
blog comments powered by Disqus
: