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
850
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
Castor - Le Task Runner PHP qui simplifie votre Workflow
lyrixx
1
570
Vos logs méritent mieux que la config par défaut
lyrixx
4
1.7k
Castor - Symfony Live 2024 - Paris
lyrixx
1
490
GitHub Actions - Automatisation de vos workflows
lyrixx
1
560
Doctrine, objet typé, et colonne JSON
lyrixx
6
4.4k
(Re) Découvrir les outils UNIX
lyrixx
5
2.2k
Symfony: Comment valider dynamiquement de la donnée
lyrixx
3
400
Symfony Lock & Semaphore
lyrixx
3
1.2k
Redis - Ce n’est pas que pour le Cache - V2
lyrixx
4
2.8k
Other Decks in Technology
See All in Technology
The Future of SEO: The Impact of AI on Search
badams
0
190
RSNA2024振り返り
nanachi
0
580
AndroidXR 開発ツールごとの できることできないこと
donabe3
0
130
プロセス改善による品質向上事例
tomasagi
2
2.5k
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
2k
オブザーバビリティの観点でみるAWS / AWS from observability perspective
ymotongpoo
8
1.5k
「海外登壇」という 選択肢を与えるために 〜Gophers EX
logica0419
0
700
エンジニアの育成を支える爆速フィードバック文化
sansantech
PRO
3
1.1k
レビューを増やしつつ 高評価維持するテクニック
tsuzuki817
1
710
ビジネスモデリング道場 目的と背景
masuda220
PRO
9
520
一度 Expo の採用を断念したけど、 再度 Expo の導入を検討している話
ichiki1023
1
170
利用終了したドメイン名の最強終活〜観測環境を育てて、分析・供養している件〜 / The Ultimate End-of-Life Preparation for Discontinued Domain Names
nttcom
2
190
Featured
See All Featured
A Tale of Four Properties
chriscoyier
158
23k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.3k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Speed Design
sergeychernyshev
27
790
It's Worth the Effort
3n
184
28k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Become a Pro
speakerdeck
PRO
26
5.1k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
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