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
Redis - ce n'est pas que pour faire du cache
Search
Grégoire Pineau
May 14, 2019
Technology
2
870
Redis - ce n'est pas que pour faire du cache
Grégoire Pineau
May 14, 2019
Tweet
Share
More Decks by Grégoire Pineau
See All by Grégoire Pineau
MCP - Symfony Live Paris - 2025
lyrixx
1
44
Castor - Le Task Runner PHP qui simplifie votre Workflow
lyrixx
2
640
Vos logs méritent mieux que la config par défaut
lyrixx
5
1.8k
Castor - Symfony Live 2024 - Paris
lyrixx
2
530
GitHub Actions - Automatisation de vos workflows
lyrixx
1
590
Doctrine, objet typé, et colonne JSON
lyrixx
6
4.6k
(Re) Découvrir les outils UNIX
lyrixx
5
2.2k
Symfony: Comment valider dynamiquement de la donnée
lyrixx
3
420
Symfony Lock & Semaphore
lyrixx
3
1.2k
Other Decks in Technology
See All in Technology
オープンソースのハードウェアのコンテストに参加している話
iotengineer22
0
520
Azure Developer CLI と Azure Deployment Environment / Azure Developer CLI and Azure Deployment Environment
nnstt1
1
120
GigaViewerにおけるMackerel APM導入の裏側
7474
0
460
ローカル環境でAIを動かそう!
falken
PRO
1
170
AIエージェントデザインパターンの選び方
almondo_event
0
140
いまさら聞けない Git 超入門 〜Gitって結局なに?から始める第一歩〜
devops_vtj
0
160
Swiftは最高だよの話
yuukiw00w
2
280
ProductZine Day 2025 Assuredのプロダクトディスカバリー
kechol
0
110
ゴリラ.vim #36 ~ Vim x SNS ~ スポンサーセッション
yasunori0418
1
340
toittaにOpenTelemetryを導入した話 / Mackerel APM リリースパーティ
cohalz
1
490
令和トラベルQAのAI活用
seigaitakahiro
0
520
Cloud Run を解剖して コンテナ監視を考える / Breaking Down Cloud Run to Rethink Container Monitoring
aoto
PRO
0
110
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
A Modern Web Designer's Workflow
chriscoyier
693
190k
A Tale of Four Properties
chriscoyier
159
23k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.4k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Designing Experiences People Love
moore
142
24k
The World Runs on Bad Software
bkeepers
PRO
68
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Adopting Sorbet at Scale
ufuk
76
9.4k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
The Language of Interfaces
destraynor
158
25k
Transcript
Redis - Ce n’est pas que pour le Cache
Qui connait Redis ?
Pour faire autre chose que du cache ?
Redis BSD) In-memory data structure store: strings, hashes, lists, sets,
sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes with radius queries and streams Replication, Lua scripting, LRU eviction, transactions Different levels of on-disk persistence
Documentation / Intégration https://redis.io
None
La complexité ?
La complexité ? ❤
Dialogue Client - Serveur
Heu netcat? Non, il y a un CLI officiel
Des clients PHP ?
None
Des Data Structures & Des Commandes • • • •
• • • • • • • • • • • •
Des Data Structures
Des clés
Strings
Strings - Use Cases
Hashes
Hashes - Use Case
Sets
Sets - Use Cases • … •
Sorted Sets
Sorted Sets - Use Case • • •
Lists
List - Use Cases
Geo
Geo - Use Cases
HyperLogLogs
Des commandes
Cluster / Réplication / HA
Pub / Sub …
Pipeline (printf "PING\r\nPING\r\nPING\r\n"; sleep 1) | nc localhost 6379 …
Transactions …
Scripting ❤❤❤❤❤
Scripting ❤❤❤❤❤
Scripting ❤❤❤❤❤
Un vrai use case ?
None
Résultats
Mais en vrai ? • • • •
Ça va vite ?
Merci