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
受け取る人から提供する人になるということ
little_rubyist
0
250
イベント駆動で成長して委員会
happymana
1
340
Realtime API 入門
riofujimon
0
150
ヤプリ新卒SREの オンボーディング
masaki12
0
130
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.3k
Jakarta EE meets AI
ivargrimstad
0
620
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
距離関数を極める! / SESSIONS 2024
gam0022
0
290
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
480
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
Quine, Polyglot, 良いコード
qnighy
4
650
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.7k
Featured
See All Featured
Ruby is Unlike a Banana
tanoku
97
11k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Why Our Code Smells
bkeepers
PRO
334
57k
The Cost Of JavaScript in 2023
addyosmani
45
6.8k
Music & Morning Musume
bryan
46
6.2k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Designing for Performance
lara
604
68k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
How STYLIGHT went responsive
nonsquared
95
5.2k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Documentation Writing (for coders)
carmenintech
65
4.4k
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?