Lightning Talks - Redis


Jordi Boggiano   @seldaek

http://nelm.io/

Redis

Text files on crack.

Text files on crack.

Just as easy

Way more powerful

In-memory

In-memory

But persistent

No schema, no db

Human readable protocol

SET key value
SET key2 value2
GET key // value
KEYS k* // key key2
            

Multiple data types

Key => Value

Strings, Hashes, Lists, Sets, Sorted Sets

Low level approach to storage

HMSET user:jordi name Jordi email jordi@nelm.io
SADD users:users jordi
SADD users:admins jordi

HMSET user:bob name bob email bob@example.org
SADD users:users bob

SMEMBERS users:users // jordi bob
SMEMBERS users:admins // jordi
            

Some more

Expiration, Pub/Sub, Transactions, Replication, Cluster soon

References & Links

Thank you.

Questions?

Slides up at slides.seld.be

Feedback please on
http://joind.in/2935