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
750
2
Share
Are you Redis? Introduction to Redis.
25.02.2012, meetphp.pl #3
mthenw
February 25, 2012
More Decks by mthenw
See All by mthenw
How to make better technical decisions
mthenw
0
88
Globally distributed applications with Serverless Framework
mthenw
1
170
The State of Serverless
mthenw
0
730
The State of Serverless (PCUG)
mthenw
0
240
Apex: The Holy Grail of AWS Lambda
mthenw
0
210
Microservices on AWS ECS
mthenw
8
840
Practical React in Marionette application
mthenw
2
630
Working with single-threaded event loop
mthenw
1
360
Bingo Bango Mongo
mthenw
6
440
Other Decks in Technology
See All in Technology
Expiration of Secure Boot Certificates for vSphere Virtual Machines
mirie_sd
0
100
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
5.1k
AWS Agent Registry の基礎・概要を理解する/aws-agent-registry-intro
ren8k
3
390
[最強DB講義]推薦システム | 基礎編
recsyslab
PRO
1
180
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
4
1.8k
260420_スマートホーム採用説明 - wakinchan
wakinchan
0
110
ServiceNow Knowledge 26 の歩き方
manarobot
0
120
運用システムにおけるデータ活用とPlatform
sansantech
PRO
0
110
AWS認定資格は本当に意味があるのか?
nrinetcom
PRO
2
280
AIはハッカーを減らすのか、増やすのか?──現役ホワイトハッカーから見るAI時代のリアル【MEGU-Meet】
cscengineer
0
180
今年注目する!データ分析プラットフォームでのAIの活用
nayuts
0
140
PicoRuby as a Multi-VM Operating System
kishima
1
170
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7k
Building AI with AI
inesmontani
PRO
1
910
Claude Code のすすめ
schroneko
67
220k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
150
Unsuck your backbone
ammeep
672
58k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Scaling GitHub
holman
464
140k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
320
Designing Experiences People Love
moore
143
24k
Writing Fast Ruby
sferik
630
63k
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