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
An Introduction to Redis
Search
Steve
October 18, 2013
Programming
2
460
An Introduction to Redis
A brief introduction to Redis
Steve
October 18, 2013
Tweet
Share
More Decks by Steve
See All by Steve
Inside Mezzanine
steve12340000
1
880
Open Source Roller Coasters
steve12340000
0
340
Rapid Web Development with Mezzanine
steve12340000
5
550
SyDjango Talk: Django Admin, The Missing Manual
steve12340000
4
990
SyDjango Talk: django-forms-builder
steve12340000
4
2.7k
Other Decks in Programming
See All in Programming
AHC041解説
terryu16
0
400
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
240
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.4k
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1.1k
Package Traits
ikesyo
1
210
ATDDで素早く安定した デリバリを実現しよう!
tonnsama
1
1.9k
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
0
150
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
550
Azure AI Foundryのご紹介
qt_luigi
1
210
Featured
See All Featured
Statistics for Hackers
jakevdp
797
220k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
870
Designing for Performance
lara
604
68k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.6k
Code Reviewing Like a Champion
maltzj
521
39k
Mobile First: as difficult as doing things right
swwweet
222
9k
Writing Fast Ruby
sferik
628
61k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.5k
Transcript
An introduction to Redis
What is it? Redis is an open source, advanced key-value
store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
What is it? Redis is an open source, advanced key-value
store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. What?
What is it? Think memcached: string => string
What is it? Think memcached: string => string But on
steroids: string => string/int/list/hash/set
What is it? Think memcached: string => string But on
steroids: string => string/int/list/hash/set All the operations you’d expect for those types
What is it? Think memcached: string => string But on
steroids: string => string/int/list/hash/set All the operations you’d expect for those types Plus other weird stuff: sorted sets, pub-sub
In memory (ram), very fast (100’s K ops/sec) Storage
In memory (ram), very fast (100’s K ops/sec) RDB (binary
dump, default), every X sec/op Storage
In memory (ram), very fast (100’s K ops/sec) RDB (binary
dump, default), every X sec/op AOF (append log), safe but slow Storage
Atomic (one event loop) Behaviour
Atomic (one event loop) Supports transactions (think batches) Behaviour
Atomic (one event loop) Supports transactions (think batches) Most operations
O(1) Behaviour
Atomic (one event loop) Supports transactions (think batches) Most operations
O(1) Extensible with Lua (custom atomic ops) Behaviour
Demo time
http://redis.io http://blog.jupo.org/tag/redis Thanks! Questions?