Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Redis, your data on steroids
Nils De Moor
May 24, 2014
Programming
3
190
Redis, your data on steroids
A quick view on the benefits of using redis with a dev and/or ops hat on. #hacktheelections
Nils De Moor
May 24, 2014
Tweet
Share
More Decks by Nils De Moor
See All by Nils De Moor
Woorank: Dismantling the monolith
ndemoor
0
150
A Timeline of MongoDB
ndemoor
1
470
Phoenix Servers with Docker
ndemoor
3
200
Scaling Node with Docker + Nginx
ndemoor
3
840
What is Docker?
ndemoor
6
590
Greenup, Hackathon Project
ndemoor
1
65
Phoenix Servers with Packer
ndemoor
9
950
AWS CloudFormation Crash Course
ndemoor
3
410
Application Lifescycle
ndemoor
5
120
Other Decks in Programming
See All in Programming
Swift Observation
shiz
4
300
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
42k
domain層のモジュール化 / MoT TechTalk #15
mot_techtalk
0
160
An Advanced Introduction to R
nicetak
0
1.9k
ipa-medit: Memory search and patch tool for IPA without Jailbreaking/ipa-medit-bh2022-europe
tkmru
0
130
NGK2023S - OCaml最高! スマホ開発にも使えちゃう?!
haochenxie
0
120
Swift Expression Macros: a practical introduction
kishikawakatsumi
2
740
子育てとEMと転職と
_atsushisakai
1
430
Software Architecture
hschwentner
3
1.1k
Becoming an Android Librarian (Android World Wide 2023 Jan)
skydoves
2
230
Cloudflare Workersと状態管理
chimame
3
510
T3 Stack and TypeScript ecosystem
quramy
3
810
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
407
21k
How to Ace a Technical Interview
jacobian
270
21k
Scaling GitHub
holman
453
140k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
182
15k
Producing Creativity
orderedlist
PRO
335
38k
Docker and Python
trallard
30
1.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
226
130k
Typedesign – Prime Four
hannesfritz
34
1.5k
Designing Experiences People Love
moore
130
22k
Why Our Code Smells
bkeepers
PRO
326
55k
Building Flexible Design Systems
yeseniaperezcruz
314
35k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
109
16k
Transcript
redis Nils De Moor - @ndemoor #hacktheelections
None
Text 3 Text2 Text1 Hi! I’m Nils De Moor, CTO
& cofounder at WooRank. This is our dream team. That’s me!
yrs old nations peeps avg age 4 8 20 27
visitors/day reports/month criteria/report 40k 600k 120
Text 3 Text2 Text1
Text 3 Text2 Text1
Text 3 Text2 Text1
Text 3 Text2 Text1
Text 3 Text2 Text1
None
Text 3 Text2 Text1 Now this is the story all
about how
LAMP
LAMP memcache
MySQL
Scaling up
Sorting complexities
Serialize!
Uhm...
Memcache
Memcache
None
strings key value get, set, expire, ttl, (in|de)cr(by), getrange,
bitop, bitcount, setbit
hashes field1 value1 hset, hget, hgetall, hkeys, hvals, hlen,
hincrby field2 value2 ... key:
lists a b c b d
a e lpush, lpop, rpush, rpop, llen, lindex, lset, lrange
sets a sadd, srem, spop, sunion, sdiff, sinter, sscan, smove,
sismember b c d e f
sorted sets zadd, zcard, zcount, zrange(by(score|lex)), z(inter|union)store [AGGREGATE SUM|MIN|MAX] b
a e c d 1000 100 100 10 -10
HyperLogLog pfadd, pfcount, pfmerge a b c a
Text2 Text1 There’s more!
Text2 Text1 Transactions LUA Scripting Notifications Pub/Sub
sorted sets Operations
RDB AOF Persistence or
Text 3 Text2 Text1
RDB AOF Persistence AND
None
Replication master slave slave slave’ slave’
master
master slave
master slave
master master
None
Thank You!
Photo Credit http://www.soullifestyle.com/sites/default/files/styles/1240/public/products/slideshow/image/Rome%20Floor %20lamp%20Antique%20Bronze%20Dark%20Grey%20Shade.jpg http://i1.sndcdn.com/artworks-000040878777-risea1-original.jpg?30a2558 http://24.media.tumblr.com/tumblr_m40zdxT4fP1qght35o6_1280.jpg http://4.bp.blogspot.com/-SZyqJk4rspw/Ud7jZGvx8YI/AAAAAAAAFPI/Wl8g8AvfQWQ/s1600/Tower+of+Hanoi+- +Chedi+2.jpg http://www.creativeplayretailer.com/assets/imgrepo/manufacturers/Matryoshka%20Madness%20-%20Cutie %20Matryoshka.jpg
http://weedactivist.com/wp-content/uploads/more.1.png http://www.dexigner.com/news/image/19712/GM_Seoul_Advanced_Design_Studio http://universal-info.com/wp-content/uploads/2011/11/choice2.jpg http://fontawesome.io