SlideShare a Scribd company logo
memory
  as the
new disk
☞redis
   tim lossen
    @nosqleu
“memory is
the new disk,
  disk is the
  new tape”
  — jim gray
strengths
harddisk
- durability
- capacity
- sequential access (= “tape”)
memory	 	
- random access
- low latency
relative latency

register              0.1

 cache                   1

memory                 10

harddisk        1.000.000

                 “latency trumps all” — chris saari
relative latency

register              0.1

 cache                   1

memory                 10

harddisk        1.000.000

                 “latency trumps all” — chris saari
flickr.com/photos/36688133@N00/3655892919
berlin - london



easyjet         1 hour
berlin - london

 f-16         6 minutes

easyjet         1 hour
berlin - london

  f-16         6 minutes

easyjet          1 hour

eurostar        10 hours
berlin - london

   f-16          6 minutes

 easyjet           1 hour

 eurostar         10 hours

broken car       114 years
flickr.com/photos/64498037@N00/3107322938
flickr.com/photos/64498037@N00/3107322938
redis

   flickr.com/photos/atzu/2645776918
benchmark



4897 GET/s
5128 SET/s

      code.google.com/p/redis/wiki/Benchmarks
flickr.com/photos/mbiddulph/3836727468
sheeva plug




  flickr.com/photos/mbiddulph/3836727468
sheeva plug




$99flickr.com/photos/mbiddulph/3836727468
features
data structures
-   integers, strings
-   lists, sets, hashes
-   channels
atomic operations
-   get, set, increment
-   push, pop ...
features
virtual memory
  -   keys always in memory
  -   values swapped in as needed
durability
  -   append-only log file
  -   background snapshots
replication
implementation

-   10k lines of pure ansi c poetry
-   no erlang, no javascript, no xml,
    no map-reduce, no hash rings, no
    merkle trees, no paxos, no vector
    clocks, no gossip protocol, no
    auto scaling, no friggin magic
Redis -- Memory as the New Disk
clients

-   redis-cli, telnet
-   c, c#
-   ruby, python, perl
-   java, scala
-   php
-   [many more ...]
summary

-   don’t cross the red line
-   avoid magic


-   redis is simple & very flexible
summary

-   don’t cross the red line
-   avoid magic


-   redis is simple & very flexible
-   ..... and pretty fast as well☺
q&a
thanx!
  ❦



         @tlossen
links
slideshare.net/guest22d4179/
latency-trumps-all


code.google.com/p/redis
github.com/antirez/redis
rediscookbook.org
one-minute install

> wget redis.tgz
> tar xzf redis.tgz
> cd redis
> make
> ./redis-server
Redis -- Memory as the New Disk

More Related Content

PDF
DockerCon14 The Road Ahead by Solomon
PDF
Containers from scratch
PDF
OS入門 Fukuoka.php vol.18 LT資料
TXT
Audiodec
PDF
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
PDF
Require js + backbone, bower and grunt
PDF
Restinio - header-only http and websocket server
PDF
MongoDB, Node.js And You: PART II
DockerCon14 The Road Ahead by Solomon
Containers from scratch
OS入門 Fukuoka.php vol.18 LT資料
Audiodec
仮想化環境におけるバイナリー・ポータビリティの考察 (WebAssemblyの場合)
Require js + backbone, bower and grunt
Restinio - header-only http and websocket server
MongoDB, Node.js And You: PART II

What's hot (20)

PDF
Introduction to Rust
TXT
Mounting usb free bsd
PDF
Glusterfs session #18 intro to fuse and its trade offs
ODP
It assist servicii it powered by linux
PDF
Pycon4 Tastymess
ODP
Denser containers with PF cache - Pavel Emelyanov
PDF
PFcache - LinuxCon 2015
PDF
Message Decrypt
KEY
causos da linha de frente - #rsonrails 2011
PDF
Autentia OS - 20180210 - Docker y las películas de chinos
PDF
Glusterfs session #8 memory tracking infra, io-threads
PPTX
MessagePack - An efficient binary serialization format
PDF
Glusterfs session #13 replication introduction
PDF
Customizing Your Shell With Dotfiles
ODP
Let's rust system programming is great again
PDF
File-I/O -- ist doch ganz einfach, oder?
PDF
Gitkata refspec
PPTX
Fizzbuzz in Complex Plane
PDF
Ruby on Windows (uru/RubyInstaller/Devkit)
PDF
How to manage stateful applications in Kubernetes
Introduction to Rust
Mounting usb free bsd
Glusterfs session #18 intro to fuse and its trade offs
It assist servicii it powered by linux
Pycon4 Tastymess
Denser containers with PF cache - Pavel Emelyanov
PFcache - LinuxCon 2015
Message Decrypt
causos da linha de frente - #rsonrails 2011
Autentia OS - 20180210 - Docker y las películas de chinos
Glusterfs session #8 memory tracking infra, io-threads
MessagePack - An efficient binary serialization format
Glusterfs session #13 replication introduction
Customizing Your Shell With Dotfiles
Let's rust system programming is great again
File-I/O -- ist doch ganz einfach, oder?
Gitkata refspec
Fizzbuzz in Complex Plane
Ruby on Windows (uru/RubyInstaller/Devkit)
How to manage stateful applications in Kubernetes
Ad

Similar to Redis -- Memory as the New Disk (20)

PDF
Docker and friends at Linux Days 2014 in Prague
PDF
深入了解Redis
PPTX
Using Libtracecmd to Analyze Your Latency and Performance Troubles
ODP
Testing Wi-Fi with OSS Tools
PDF
PDF
ZFS Talk Part 1
PDF
Ben Coverston - The Apache Cassandra Project
PPTX
DevOpsDays Warsaw 2015: Running High Performance And Fault Tolerant Elasticse...
PDF
Debugging Ruby Systems
PDF
WebCamp: Developer Day: The Big, the Small and the Redis - Андрей Савченко
KEY
WebClusters, Redis
PPT
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
PDF
Filip palian mateuszkocielski. simplest ownage human observed… routers
PDF
Simplest-Ownage-Human-Observed… - Routers
PDF
Performance tweaks and tools for Linux (Joe Damato)
PDF
Non-blocking I/O, Event loops and node.js
PDF
Bottom to Top Stack Optimization with LAMP
PDF
Bottom to Top Stack Optimization - CICON2011
PDF
Miscelaneous Debris
PDF
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
Docker and friends at Linux Days 2014 in Prague
深入了解Redis
Using Libtracecmd to Analyze Your Latency and Performance Troubles
Testing Wi-Fi with OSS Tools
ZFS Talk Part 1
Ben Coverston - The Apache Cassandra Project
DevOpsDays Warsaw 2015: Running High Performance And Fault Tolerant Elasticse...
Debugging Ruby Systems
WebCamp: Developer Day: The Big, the Small and the Redis - Андрей Савченко
WebClusters, Redis
Running High Performance and Fault Tolerant Elasticsearch Clusters on Docker
Filip palian mateuszkocielski. simplest ownage human observed… routers
Simplest-Ownage-Human-Observed… - Routers
Performance tweaks and tools for Linux (Joe Damato)
Non-blocking I/O, Event loops and node.js
Bottom to Top Stack Optimization with LAMP
Bottom to Top Stack Optimization - CICON2011
Miscelaneous Debris
DUG'20: 12 - DAOS in Lenovo’s HPC Innovation Center
Ad

More from Tim Lossen (20)

PDF
Apocalypse Later
PDF
Embracing Failure
PDF
Embracing Failure
PDF
Enemy of the State?
PDF
Beyond Devops
PDF
All Your Core Are Belong To Us
PDF
Podularity FTW!
PDF
Cubic Foot Gardening
PDF
Dashboard Mania
PDF
Event-Stream Processing with Kafka
PDF
Into the Void
PDF
Treasure Island -- Concurrency in JRuby
PDF
Dashboard Mania
PDF
JRuby vs. Rubinius
PDF
Redis to the Rescue?
PDF
Redis to the Rescue?
PDF
The Smallest Cluster in the World
PDF
Announcing Euruko 2011
PDF
Memory: The New Disk
PDF
Key-Value-Stores -- The Key to Scaling?
Apocalypse Later
Embracing Failure
Embracing Failure
Enemy of the State?
Beyond Devops
All Your Core Are Belong To Us
Podularity FTW!
Cubic Foot Gardening
Dashboard Mania
Event-Stream Processing with Kafka
Into the Void
Treasure Island -- Concurrency in JRuby
Dashboard Mania
JRuby vs. Rubinius
Redis to the Rescue?
Redis to the Rescue?
The Smallest Cluster in the World
Announcing Euruko 2011
Memory: The New Disk
Key-Value-Stores -- The Key to Scaling?

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
A Presentation on Artificial Intelligence
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
Per capita expenditure prediction using model stacking based on satellite ima...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
NewMind AI Monthly Chronicles - July 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
A Presentation on Artificial Intelligence
Dropbox Q2 2025 Financial Results & Investor Presentation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Understanding_Digital_Forensics_Presentation.pptx
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Diabetes mellitus diagnosis method based random forest with bat algorithm
CIFDAQ's Market Insight: SEC Turns Pro Crypto
20250228 LYD VKU AI Blended-Learning.pptx

Redis -- Memory as the New Disk