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 - From LAMP to NOSQL
Search
York Tsai
October 11, 2011
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Redis - From LAMP to NOSQL
Cloud.tw Meetup
York Tsai
October 11, 2011
More Decks by York Tsai
See All by York Tsai
Real-time Web Application with Socket.IO, Node.js, and Redis
yorktsai
10
3.6k
Other Decks in Programming
See All in Programming
Deep dive into the select statement (GopherCon UK)
jespino
0
170
MySQLとPostgreSQLって何が違うの?
akagami
PRO
0
160
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
610
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
250
自分的「カンファレンスの楽しみ方」
syumai
0
170
初めての模倣学習とVLA
natsutan
0
410
高専キャリア LT 発表内容
crysta1221
6
5.4k
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
0
210
ALB ログから Trace を気合で繋げる技術
fohte
7
840
不幸な GC
chencmd
0
860
異なる設計思想のフレームワークを経験して得た学び
amekuhideki
2
1.4k
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
760
Featured
See All Featured
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
230
Chasing Engaging Ingredients in Design
codingconduct
0
290
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
390
The agentic SEO stack - context over prompts
schlessera
0
880
Google's AI Overviews - The New Search
badams
0
1.6k
Are puppies a ranking factor?
jonoalderson
2
3.9k
A better future with KSS
kneath
240
18k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
480
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
800
Transcript
York Tsai, http://about.me/yorktsai From LAMP to NoSQL
What is Redis?
REmote DIctionary Server Redistribute
Memcache with rich data structure
Why Redis?
Our Database
None
None
Performance
http://www.ruturaj.net/redis-memcached-tokyo-tyrant-mysql- comparison
http://antirez.com/post/redis-memcached-benchmark.html
Rich Data Structure
None
Well-Documented with Time-Complexity!!
Zero-Configuration > Make
Examples
Cache a value
Cache a value, DEL/EXPIRE a set redis > EXPIRE myhash
3600 (integer) 1 redis > DEL myhash (integer) 1
List / Queue / Stack
Sets
Sorted Sets
Real-World Examples
Cache Statistics https://gist.github.com/1272511
Cache X Recent Records https://gist.github.com/1272508
When not to Use Redis?
If your data cannot fit into memory. (MMap is no
longer supported after 2.6)
Frequently Asked Questions
Multi-core? Open multiple instances
Persistence? Append-only Files (Or Snapshot)
Replication? Master-Slave
Transaction? MULTI / EXEC + WATCH
Not in this talk • Pub/Sub (publish / subscribe) •
Redis Cluster (Incoming)
Thank You!