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
0
310
Redis - From LAMP to NOSQL
Cloud.tw Meetup
York Tsai
October 11, 2011
Tweet
Share
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
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
140
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
AI巻き込み型コードレビューのススメ
nealle
2
1.3k
dchart: charts from deck markup
ajstarks
3
1k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
290
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
690
2026年 エンジニアリング自己学習法
yumechi
0
140
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.4k
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
130
CSC307 Lecture 03
javiergs
PRO
1
490
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
150
Featured
See All Featured
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
52
Visualization
eitanlees
150
17k
A better future with KSS
kneath
240
18k
The Curious Case for Waylosing
cassininazir
0
240
Six Lessons from altMBA
skipperchong
29
4.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Tell your own story through comics
letsgokoyo
1
810
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.3k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
84
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.3k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
70
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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!