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
Flutterを言い訳にしない!アプリの使い心地改善テクニック5選🔥
kno3a87
1
200
Jakarta EE meets AI
ivargrimstad
0
150
Remix on Hono on Cloudflare Workers
yusukebe
1
300
受け取る人から提供する人になるということ
little_rubyist
0
250
型付き API リクエストを実現するいくつかの手法とその選択 / Typed API Request
euxn23
8
2.2k
Macとオーディオ再生 2024/11/02
yusukeito
0
370
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
EMになってからチームの成果を最大化するために取り組んだこと/ Maximize team performance as EM
nashiusagi
0
100
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
200
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.7k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
340
subpath importsで始めるモック生活
10tera
0
320
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Writing Fast Ruby
sferik
627
61k
Raft: Consensus for Rubyists
vanstee
136
6.6k
A Philosophy of Restraint
colly
203
16k
Agile that works and the tools we love
rasmusluckow
327
21k
Building Applications with DynamoDB
mza
90
6.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
47
2.1k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Done Done
chrislema
181
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
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?