Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Redis - ce n'est pas que pour faire du cache
Grégoire Pineau
May 14, 2019
Technology
2
720
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
GitHub Actions - Automatisation de vos workflows
lyrixx
1
370
Doctrine, objet typé, et colonne JSON
lyrixx
6
1.6k
(Re) Découvrir les outils UNIX
lyrixx
5
1.8k
Symfony: Comment valider dynamiquement de la donnée
lyrixx
3
270
Symfony Lock & Semaphore
lyrixx
3
700
Redis - Ce n’est pas que pour le Cache - V2
lyrixx
4
2.1k
Asynchrone avec Symfony Messenger et Mercure
lyrixx
3
2k
Pourquoi Vous Devez Utiliser MySQL
lyrixx
0
390
Symfony 4 - Touraine Tech 2019
lyrixx
0
370
Other Decks in Technology
See All in Technology
ChatGPT for Hacking
anugrahsr
0
3.9k
- Rでオブジェクト指向プログラミング- クラス設計入門の入門
kotatyamtema
1
720
エアドロップ for オープンソースプロジェクト
epicsdao
0
350
Multi-Cloud Gatewayでデータを統治せよ!/ Data Federation with MCG
tutsunom
1
180
OCI DevOps 概要 / OCI DevOps overview
oracle4engineer
PRO
0
480
230125 古いタブレットの活用 かーでぃさん
comucal
PRO
0
15k
スクラム導入して変わったチーム、組織のありかた
yumechi
0
160
SignalR を使ったアプリケーション開発をより快適に!
nenonaninu
0
590
立ち止まっても、寄り道しても / even if I stop, even if I take a detour
katoaz
0
170
【NGK2023S】 ノードエディタ形式の画像処理ツール「Image-Processing-Node-Editor」
kazuhitotakahashi
0
250
AI Services 概要 / AI Services overview
oracle4engineer
PRO
0
170
日本ディープラーニング協会主催 NeurIPS 2022 技術報告会講演資料
tdailab
0
1k
Featured
See All Featured
Six Lessons from altMBA
skipperchong
15
2.3k
How to train your dragon (web standard)
notwaldorf
66
4.2k
Building a Scalable Design System with Sketch
lauravandoore
451
31k
Optimizing for Happiness
mojombo
365
64k
How GitHub Uses GitHub to Build GitHub
holman
465
280k
Practical Orchestrator
shlominoach
178
8.9k
Intergalactic Javascript Robots from Outer Space
tanoku
261
26k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
109
16k
What's in a price? How to price your products and services
michaelherold
233
9.7k
Making Projects Easy
brettharned
102
4.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
120
29k
Web Components: a chance to create the future
zenorocha
304
40k
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