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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
York Tsai
October 11, 2011
Programming
310
0
Share
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
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
110
Oxcを導入して開発体験が向上した話
yug1224
4
280
エージェンティックRAGにAWSで入門しよう!
har1101
7
1k
Oxlintのカスタムルールの現況
syumai
5
990
DynamoDBには集計系のクエリがないけどなんとかしたい
musan
1
130
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
450
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
190
キャリア迷子上等 ─ "ない道"は自分で作ればいい
16bitidol
2
430
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1k
dRuby over BLE
makicamel
2
310
Signal Forms: Beyond the Basics @ngBaguette 2026 in Paris
manfredsteyer
PRO
0
220
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
1
720
Featured
See All Featured
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
350
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
55k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
25k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Prompt Engineering for Job Search
mfonobong
0
330
How to make the Groovebox
asonas
2
2.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
240
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.7k
Utilizing Notion as your number one productivity tool
mfonobong
4
310
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
320
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!