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
540
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
【TID2024】模擬講義:プログラマと一緒にゲームをデザインしてみよう!
akatsukigames_tech
0
660
XStateでReactに秩序を与えたい
gizm000
0
730
実践!難読化ガイド
mitchan
0
200
『ドメイン駆動設計をはじめよう』中核の業務領域
masuda220
PRO
5
1k
私のEbitengineの第一歩
qt_luigi
0
450
The Shape of a Service Object
inem
0
520
How to Break into Reading Open Source
kaspth
2
220
REXML改善のその後
naitoh
0
190
LangGraphでのHuman-in-the-Loopの実装
os1ma
3
1.1k
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
0
320
Modern Angular with the NGRX Signal Store New Rules for Your Architecture @BASTA! 2024 in Mainz
manfredsteyer
PRO
0
150
Hono・Prisma・AWSでGeoなAPI開発
nokonoko1203
5
680
Featured
See All Featured
Producing Creativity
orderedlist
PRO
340
39k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
Docker and Python
trallard
39
3k
Embracing the Ebb and Flow
colly
83
4.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
36
2.1k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Rails Girls Zürich Keynote
gr2m
93
13k
The Pragmatic Product Professional
lauravandoore
31
6.2k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
190
16k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
How STYLIGHT went responsive
nonsquared
93
5.1k
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?