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
Are you Redis? Introduction to Redis.
Search
mthenw
February 25, 2012
Technology
2
730
Are you Redis? Introduction to Redis.
25.02.2012, meetphp.pl #3
mthenw
February 25, 2012
Tweet
Share
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
60
Globally distributed applications with Serverless Framework
mthenw
1
140
The State of Serverless
mthenw
0
700
The State of Serverless (PCUG)
mthenw
0
200
Apex: The Holy Grail of AWS Lambda
mthenw
0
180
Microservices on AWS ECS
mthenw
8
810
Practical React in Marionette application
mthenw
2
610
Working with single-threaded event loop
mthenw
1
320
Bingo Bango Mongo
mthenw
6
400
Other Decks in Technology
See All in Technology
オブザーバビリティが育むシステム理解と好奇心
maruloop
2
1.3k
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
130
ラスベガスの歩き方 2025年版(re:Invent 事前勉強会)
junjikoide
0
190
ストレージエンジニアの仕事と、近年の計算機について / 第58回 情報科学若手の会
pfn
PRO
3
850
SQLAlchemy の select(User).where(User.id =="123") を理解してみる/sqlalchemy deep dive
3l4l5
3
450
組織全員で向き合うAI Readyなデータ利活用
gappy50
1
660
CREが作る自己解決サイクルSlackワークフローに組み込んだAIによる社内ヘルプデスク改革 #cre_meetup
bengo4com
0
340
OSSで50の競合と戦うためにやったこと
yamadashy
3
990
ソースを読む時の思考プロセスの例-MkDocs
sat
PRO
1
220
What's new in OpenShift 4.20
redhatlivestreaming
0
280
あなたの知らない Linuxカーネル脆弱性の世界
recruitengineers
PRO
3
160
AI-Readyを目指した非構造化データのメダリオンアーキテクチャ
r_miura
1
330
Featured
See All Featured
Practical Orchestrator
shlominoach
190
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Agile that works and the tools we love
rasmusluckow
331
21k
Music & Morning Musume
bryan
46
6.9k
Thoughts on Productivity
jonyablonski
70
4.9k
Why Our Code Smells
bkeepers
PRO
340
57k
Automating Front-end Workflow
addyosmani
1371
200k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Making Projects Easy
brettharned
120
6.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
Transcript
Are you ? Introduction to Redis meet.php #3 25.02.2012
Maciej Winnicki Computer Programmer PHP at Allegro Group @mthenw
advanced key-value store
in-memory database
memcached on steroids
data structures server
Author Salvatore Sanfilippo @antirez antirez.com
In production
In PHP github.com/nicolasff/phpredis github.com/nrk/predis
Data structure server Strings SET, GET, GETRANGE, INCR, DECR Lists
LPUSH, RPUSH, RPOP, LRANGE, RPOPLPUSH (Sorted) Sets SADD, SINTER, SMEMBERS, SCARD, ZADD, ZSCORE Hashes HSET, HMSET, HGETALL
Advanced key-value store Persistence Replication Transaction Pipelining PUB/SUB
Persistence snapshot (RDB) append-only file (AOF)
Replication master slave slave slave with persistence
Transactions MULTI EXEC
Pipelining Client: INCR X Server: 1 Client: INCR X Server:
2 Client: INCR X Server: 3 Client: INCR X Server: 4 Client: INCR X Client: INCR X Client: INCR X Client: INCR X Server: 1 Server: 2 Server: 3 Server: 4 vs.
PUB/SUB Publish on PHP Subscribe on node.js
None
kariera.allegro.pl kariera.allegro.pl/Praca-w-Grupie-Allegro/Development/66-Programista-PHP
Q&A