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
710
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
33
Globally distributed applications with Serverless Framework
mthenw
1
110
The State of Serverless
mthenw
0
650
The State of Serverless (PCUG)
mthenw
0
150
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
280
Bingo Bango Mongo
mthenw
6
380
Other Decks in Technology
See All in Technology
組織に自動テストを書く文化を根付かせる戦略(2024冬版) / Building Automated Test Culture 2024 Winter Edition
twada
PRO
17
4.7k
PHPからGoへのマイグレーション for DMMアフィリエイト
yabakokobayashi
1
170
Turing × atmaCup #18 - 1st Place Solution
hakubishin3
0
490
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
470
なぜCodeceptJSを選んだか
goataka
0
160
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
560
DevOps視点でAWS re:invent2024の新サービス・アプデを振り返ってみた
oshanqq
0
180
プロダクト開発を加速させるためのQA文化の築き方 / How to build QA culture to accelerate product development
mii3king
1
270
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
270
私なりのAIのご紹介 [2024年版]
qt_luigi
1
120
オプトインカメラ:UWB測位を応用したオプトイン型のカメラ計測
matthewlujp
0
180
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
100
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
328
21k
Visualization
eitanlees
146
15k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Building Adaptive Systems
keathley
38
2.3k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Speed Design
sergeychernyshev
25
670
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