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
700
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
31
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
640
The State of Serverless (PCUG)
mthenw
0
140
Apex: The Holy Grail of AWS Lambda
mthenw
0
150
Microservices on AWS ECS
mthenw
8
780
Practical React in Marionette application
mthenw
2
590
Working with single-threaded event loop
mthenw
1
270
Bingo Bango Mongo
mthenw
6
380
Other Decks in Technology
See All in Technology
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
390
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
150
障害対応指揮の意思決定と情報共有における価値観 / Waroom Meetup #2
arthur1
5
480
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
330
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
ISUCONに強くなるかもしれない日々の過ごしかた/Findy ISUCON 2024-11-14
fujiwara3
8
870
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.9k
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
100
RubyのWebアプリケーションを50倍速くする方法 / How to Make a Ruby Web Application 50 Times Faster
hogelog
3
950
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
32
1.5k
Rails Girls Zürich Keynote
gr2m
94
13k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
100
The Pragmatic Product Professional
lauravandoore
31
6.3k
How GitHub (no longer) Works
holman
310
140k
4 Signs Your Business is Dying
shpigford
180
21k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
It's Worth the Effort
3n
183
27k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Navigating Team Friction
lara
183
14k
What's new in Ruby 2.0
geeforr
343
31k
StorybookのUI Testing Handbookを読んだ
zakiyama
27
5.3k
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