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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Steve
October 18, 2013
Programming
490
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
An Introduction to Redis
A brief introduction to Redis
Steve
October 18, 2013
More Decks by Steve
See All by Steve
Inside Mezzanine
steve12340000
1
910
Open Source Roller Coasters
steve12340000
0
370
Rapid Web Development with Mezzanine
steve12340000
5
570
SyDjango Talk: Django Admin, The Missing Manual
steve12340000
4
1k
SyDjango Talk: django-forms-builder
steve12340000
4
2.7k
Other Decks in Programming
See All in Programming
エンジニア向け会社紹介/Findy Company Profile
findyinc
6
350k
その問い、本当に正しいですか?AI時代のエンジニアに必要な哲学と認知科学 / ai-philosophy-cognitive-science
minodriven
13
6.2k
鹿野さんに聞く!『TypeScriptコードレシピ集』で磨く実践力
tonkotsuboy_com
2
720
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
610
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
130
Oxcを導入して開発体験が向上した話
yug1224
4
340
Lessons from Spec-Driven Development
simas
PRO
0
220
AI時代のUIはどこへ行く?その2!
yusukebe
22
7.5k
OSもどきOS
arkw
0
590
才能?センス?知らん、 続けたもん勝ちだ。-- 結婚・出産・癌を越えてなお、私がプロダクトを創り続ける理由
16bitidol
1
150
Performance Engineering for Everyone
elenatanasoiu
0
210
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
120
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
370
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
370
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
560
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
220
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Why Our Code Smells
bkeepers
PRO
340
58k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
420
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
240
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
370
Navigating Weather and Climate Data
rabernat
0
230
YesSQL, Process and Tooling at Scale
rocio
174
15k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
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?