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
740
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
76
Globally distributed applications with Serverless Framework
mthenw
1
160
The State of Serverless
mthenw
0
720
The State of Serverless (PCUG)
mthenw
0
230
Apex: The Holy Grail of AWS Lambda
mthenw
0
200
Microservices on AWS ECS
mthenw
8
820
Practical React in Marionette application
mthenw
2
620
Working with single-threaded event loop
mthenw
1
340
Bingo Bango Mongo
mthenw
6
420
Other Decks in Technology
See All in Technology
Azure SQL Databaseでベクター検索を活用しよう
nakasho
0
120
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
130
プロダクトエンジニアこそ必要なPMスキル 〜デリバリー力を最大化し、価値を届け続けるために〜
layerx
PRO
0
150
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
入社1ヶ月でデータパイプライン講座を作った話
waiwai2111
1
170
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
41k
セキュリティ はじめの一歩
nikinusu
0
1.2k
Amazon ElastiCacheのコスト最適化を考える/Elasticache Cost Optimization
quiver
0
280
SREの仕事を自動化する際にやっておきたい5つのポイント
jacopen
6
1.2k
AWS Devops Agent ~ 自動調査とSlack統合をやってみた! ~
kubomasataka
2
260
【Oracle Cloud ウェビナー】[Oracle AI Database + Azure] AI-Ready データ戦略の最短ルート:Azure AIでビジネス データの価値を最大化
oracle4engineer
PRO
2
140
【NGK2026S】日本株のシステムトレードに入門してみた
kazuhitotakahashi
0
210
Featured
See All Featured
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
Producing Creativity
orderedlist
PRO
348
40k
Designing for Performance
lara
610
70k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
34k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
YesSQL, Process and Tooling at Scale
rocio
174
15k
How to build a perfect <img>
jonoalderson
1
4.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
59
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