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
450
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
540
SyDjango Talk: Django Admin, The Missing Manual
steve12340000
4
980
SyDjango Talk: django-forms-builder
steve12340000
4
2.7k
Other Decks in Programming
See All in Programming
雑に思考を整理する技術と効能
konifar
63
30k
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
130
Micro Frontends for Java Microservices - Utah JUG 2024
mraible
PRO
1
110
Scalable Customer Journey Orchestration (CJO)
lewuathe
0
420
VS Code をプロダクトにどう取り込むか
onomax
1
650
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
400
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
480
サイコロで理解する統計的仮説検定の考え方
tatamiya
4
1k
SIMD Parallel Programming with the Vector API
josepaumard
0
230
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Try creating your own orderedmap
kazamori
1
170
GitHub Copilotのススメ
marcy731
1
220
Featured
See All Featured
Into the Great Unknown - MozCon
thekraken
14
1k
Embracing the Ebb and Flow
colly
80
4.2k
Writing Fast Ruby
sferik
622
60k
Unsuck your backbone
ammeep
663
57k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Building a Scalable Design System with Sketch
lauravandoore
457
32k
Typedesign – Prime Four
hannesfritz
36
2.1k
Atom: Resistance is Futile
akmur
260
25k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
21
1.4k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
The Invisible Side of Design
smashingmag
294
49k
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?