Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Redis, your data on steroids
Search
Nils De Moor
May 24, 2014
Programming
3
200
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
170
A Timeline of MongoDB
ndemoor
1
500
Phoenix Servers with Docker
ndemoor
3
210
Scaling Node with Docker + Nginx
ndemoor
3
850
What is Docker?
ndemoor
6
620
Greenup, Hackathon Project
ndemoor
1
70
Phoenix Servers with Packer
ndemoor
9
1k
AWS CloudFormation Crash Course
ndemoor
3
560
Application Lifescycle
ndemoor
5
130
Other Decks in Programming
See All in Programming
エンジニア1年目で複雑なコードの改善に取り組んだ話
mtnmr
3
2k
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
830
ドメイン駆動設計を実践するために必要なもの
bikisuke
4
330
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
120
A New Era of Testing
mannodermaus
2
510
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
810
Jakarta EE meets AI
ivargrimstad
0
390
KSPの導入・移行を前向きに検討しよう!
shxun6934
PRO
0
280
REXML改善のその後
naitoh
0
190
Patched fetch did not work
quramy
4
390
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
9
2.4k
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
78
8.6k
Web development in the modern age
philhawksworth
205
10k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.3k
Agile that works and the tools we love
rasmusluckow
327
20k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
What's in a price? How to price your products and services
michaelherold
242
11k
The Pragmatic Product Professional
lauravandoore
31
6.2k
Building Your Own Lightsaber
phodgson
101
6k
Ruby is Unlike a Banana
tanoku
96
11k
For a Future-Friendly Web
brad_frost
174
9.3k
How STYLIGHT went responsive
nonsquared
93
5.1k
The Brand Is Dead. Long Live the Brand.
mthomps
53
38k
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