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
790
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
Vos logs méritent mieux que la config par défaut
lyrixx
2
960
Castor - Symfony Live 2024 - Paris
lyrixx
1
290
GitHub Actions - Automatisation de vos workflows
lyrixx
1
500
Doctrine, objet typé, et colonne JSON
lyrixx
6
3.9k
(Re) Découvrir les outils UNIX
lyrixx
5
2.1k
Symfony: Comment valider dynamiquement de la donnée
lyrixx
3
350
Symfony Lock & Semaphore
lyrixx
3
1k
Redis - Ce n’est pas que pour le Cache - V2
lyrixx
4
2.7k
Asynchrone avec Symfony Messenger et Mercure
lyrixx
3
2.6k
Other Decks in Technology
See All in Technology
データベース03: 関係データモデル
trycycle
0
110
Tellus の衛星データを見てみよう #mf_fukuoka
kongmingstrap
0
350
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
940
プロンプトエンジニアリングでがんばらない-Agentic Workflow へ-近藤憲児
kenjikondobai
6
1.3k
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
3.3k
MixIT 2024 - Pulumi : Gérer son infra avec son langage de programmation préféré
ju_hnny5
1
120
自己改善からチームを動かす! 「セルフエンジニアリングマネージャー」のすゝめ
shoota
6
1.1k
Azureの基本的な権限管理の勉強会
yhana
1
2.2k
Grafana x PagerDuty Better Together
jacopen
1
330
GrafanaMeetup_AmazonManagedGrafanaのアクセス制御機能とマルチテナント環境下でのアクセス制御について
daitak
0
460
個人のAWSアカウントをマルチ運用してみた
miura55
2
250
2024春 注目のWeb系 OSS & SaaS 3選
makies
0
200
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
0
36
[RailsConf 2023] Rails as a piece of cake
palkan
28
4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
242
1.2M
For a Future-Friendly Web
brad_frost
172
9k
Imperfection Machines: The Place of Print at Facebook
scottboms
261
12k
What’s in a name? Adding method to the madness
productmarketing
PRO
17
2.7k
How to train your dragon (web standard)
notwaldorf
75
5.2k
Building an army of robots
kneath
300
41k
KATA
mclloyd
16
12k
Code Reviewing Like a Champion
maltzj
515
39k
Thoughts on Productivity
jonyablonski
60
3.9k
Making the Leap to Tech Lead
cromwellryan
125
8.5k
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