Slides from my talk on Redis at Human talks nantes http://humantalks.com/cities/nantes/events/136/talks/414-introduction-a-redis
Redsmin - Fully featured GUI for Redis: https://redsmin.com @redsmin
RedisWeekly - http://redisweekly.com @redisweekly
2. REmote DIctionary Server (Redis) is created by @antirez, written in
C, released in 2009, BSD licensed, was supported by VMWare and
now Pivotal.
Redis is an open source, networked, single threaded, in-
memory, advanced key-value store with optional durability.
It is often referred to as a data structure server since keys
can contain strings, hashes, lists, sets and sorted sets.
14. cache:/
Keys
users:mostfollowed
users:1:followers
users:1:tweets
users:1
<!DOCTYPE
html><html><head><meta
...
charset='utf-‐8'
/>
Example
field member
username fgribreau
followers 2204
89 8 55 5 34 13 21
0 1 2 3
hello... hey!.. @Crea... New
pro...
field score
@ladygaga 41359356
@youtube 41770322
@barackobama 42872391
@justinbieber 51428544
@katyperry 52811148
Value Type
String
Hash
Set*
List
Sorted Set
* Since 2.8.9, Redis supports a new type: HyperLogLog (an memory efficient way to store and count unique elements in a set)
15. $
redis-‐cli
redis>
get
talk:414:description
(nil)
redis>
set
talk:414:description
"Je
propose
ce
sujet
suite
à
une
suggestion
de
Quentin."
OK
redis>
get
talk:414:description
"Je
propose
ce
sujet
suite
xc3xa0
une
suggestion
de
Quentin."
redis>
expire
talk:414:description
5
(integer)
1
#
then
after
5
seconds
redis>
get
talk:414:description
(nil)
redis>
getrange
talk:414:description
47
53
"Quentin"
redis>
incr
talk:414:views
(integer)
1
redis>
incrby
talk:414:views
10
"11"
cache:/
Keys
<!DOCTYPE
html><html><head><meta
...
charset='utf-‐8'
/>
ExampleValue Type
String
append
bitcount
bitop
bitpos
decr
decrby
get
getbit
getrange
getset
incr
incrby
incrbyfloat
mget
mset
msetnx
psetex
set
setbit
setex
setnx
setrange
strlen
http://bit.ly/1kRJn0N
23. Who is using Redis?
http://bit.ly/1f0GkWi
http://bit.ly/1fp4ept
http://bit.ly/1f0Gq06
http://bit.ly/1fp4l4t
http://bit.ly/1f0GDjW
http://bit.ly/1fp4qVJ
http://bit.ly/1f0GWez
http://bit.ly/XX0yHy
http://bit.ly/1f0H11U
http://bit.ly/1bGQqJf
24. Who is using Redis?
http://www.xdata.me/?p=301
220.000.000.000 commands per day
500.000.000.000 reads per day
50.000.000.000 writes per day,
500+ servers
2000+ Redis instances!
26. BringrCofounder & CTO of
“ Create value for your business on Social Media,
from discussion to conversion ”
Professor @EPSI_Nantes & @UnivNantes on JavaScript (RIA/NodeJS) and NoSQL databases
bringr.net
27. “ Administrate everything, monitor in real-time.
Visualizing and editing Redis data-structures has never been so simple. ”
Founder of Redsmin redsmin.com
28. Editor of @RedisWeekly
“ A free, once–weekly e-mail round-up of Redis news, articles, tools and libraries. ”
redisweekly.com