Suche senden
Hochladen
Redis - N✮SQL Berlin
•
Als KEY, PDF herunterladen
•
16 gefällt mir
•
2,794 views
M
mattmatt
Folgen
Redis, the fast and furious key-value store.
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 49
Jetzt herunterladen
Empfohlen
Redis clustering
Redis clustering
Ravi Yasas
Intoroduction of py7zr
Intoroduction of py7zr
Hiroshi Miura
Containers from scratch
Containers from scratch
Rakuten Group, Inc.
Red Hat Gluster Storage
Red Hat Gluster Storage
Katsutoshi Kojima
Leveraging Hadoop for Legacy Systems
Leveraging Hadoop for Legacy Systems
Mathias Herberts
Redis
Redis
peter_shen
Introduction to Redis
Introduction to Redis
Saeid Zebardast
Compiler basics: lisp to assembly
Compiler basics: lisp to assembly
Phil Eaton
Empfohlen
Redis clustering
Redis clustering
Ravi Yasas
Intoroduction of py7zr
Intoroduction of py7zr
Hiroshi Miura
Containers from scratch
Containers from scratch
Rakuten Group, Inc.
Red Hat Gluster Storage
Red Hat Gluster Storage
Katsutoshi Kojima
Leveraging Hadoop for Legacy Systems
Leveraging Hadoop for Legacy Systems
Mathias Herberts
Redis
Redis
peter_shen
Introduction to Redis
Introduction to Redis
Saeid Zebardast
Compiler basics: lisp to assembly
Compiler basics: lisp to assembly
Phil Eaton
PostgreSQL performance archaeology
PostgreSQL performance archaeology
Tomas Vondra
Sp ch05
Sp ch05
Shi-Wu Lo(Gmail)
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
bipin kunal
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
Tomas Vondra
Introduction to Redis
Introduction to Redis
Rizky Abdilah
OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料
ichikaway
Database Architectures and Hypertable
Database Architectures and Hypertable
hypertable
Hypertable - massively scalable nosql database
Hypertable - massively scalable nosql database
bigdatagurus_meetup
المشروع الأول
المشروع الأول
Mai Saleh
tokyotalk
tokyotalk
Hiroshi Ono
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
PgDay.Seoul
บทท 7
บทท 7
J-Kitipat Vatinivijet
ulimit
ulimit
hiyelata
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Scott Tsai
Linux Tor Browser kurulum
Linux Tor Browser kurulum
reso95
EncExec: Secure In-Cache Execution
EncExec: Secure In-Cache Execution
Yue Chen
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
corehard_by
OpenZFS send and receive
OpenZFS send and receive
Matthew Ahrens
Linux Kernel 개발참여방법과 문화 (Contribution)
Linux Kernel 개발참여방법과 문화 (Contribution)
Ubuntu Korea Community
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
PingCAP
Redis memcached pdf
Redis memcached pdf
Erin O'Neill
Introduction to Redis
Introduction to Redis
Itamar Haber
Weitere ähnliche Inhalte
Was ist angesagt?
PostgreSQL performance archaeology
PostgreSQL performance archaeology
Tomas Vondra
Sp ch05
Sp ch05
Shi-Wu Lo(Gmail)
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
bipin kunal
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
Tomas Vondra
Introduction to Redis
Introduction to Redis
Rizky Abdilah
OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料
ichikaway
Database Architectures and Hypertable
Database Architectures and Hypertable
hypertable
Hypertable - massively scalable nosql database
Hypertable - massively scalable nosql database
bigdatagurus_meetup
المشروع الأول
المشروع الأول
Mai Saleh
tokyotalk
tokyotalk
Hiroshi Ono
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
PgDay.Seoul
บทท 7
บทท 7
J-Kitipat Vatinivijet
ulimit
ulimit
hiyelata
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Scott Tsai
Linux Tor Browser kurulum
Linux Tor Browser kurulum
reso95
EncExec: Secure In-Cache Execution
EncExec: Secure In-Cache Execution
Yue Chen
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
corehard_by
OpenZFS send and receive
OpenZFS send and receive
Matthew Ahrens
Linux Kernel 개발참여방법과 문화 (Contribution)
Linux Kernel 개발참여방법과 문화 (Contribution)
Ubuntu Korea Community
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
PingCAP
Was ist angesagt?
(20)
PostgreSQL performance archaeology
PostgreSQL performance archaeology
Sp ch05
Sp ch05
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
Gluster fs for_storage_admins_glusterfs_meetup_07_feb
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
PostgreSQL na EXT4, XFS, BTRFS a ZFS / FOSDEM PgDay 2016
Introduction to Redis
Introduction to Redis
OS入門 Fukuoka.php vol.18 LT資料
OS入門 Fukuoka.php vol.18 LT資料
Database Architectures and Hypertable
Database Architectures and Hypertable
Hypertable - massively scalable nosql database
Hypertable - massively scalable nosql database
المشروع الأول
المشروع الأول
tokyotalk
tokyotalk
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
[Pgday.Seoul 2017] 3. PostgreSQL WAL Buffers, Clog Buffers Deep Dive - 이근오
บทท 7
บทท 7
ulimit
ulimit
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Bsdtw17: mariusz zaborski: case studies of sandboxing base system with capsicum
Linux Tor Browser kurulum
Linux Tor Browser kurulum
EncExec: Secure In-Cache Execution
EncExec: Secure In-Cache Execution
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
C++ CoreHard Autumn 2018. Знай свое "железо": иерархия памяти - Александр Титов
OpenZFS send and receive
OpenZFS send and receive
Linux Kernel 개발참여방법과 문화 (Contribution)
Linux Kernel 개발참여방법과 문화 (Contribution)
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
[Paper Reading] Efficient Query Processing with Optimistically Compressed Has...
Ähnlich wie Redis - N✮SQL Berlin
Redis memcached pdf
Redis memcached pdf
Erin O'Neill
Introduction to Redis
Introduction to Redis
Itamar Haber
NoSQL - Motivation and Overview
NoSQL - Motivation and Overview
Jonathan Weiss
Developing a Redis Module - Hackathon Kickoff
Developing a Redis Module - Hackathon Kickoff
Itamar Haber
What's new with enterprise Redis - Leena Joshi, Redis Labs
What's new with enterprise Redis - Leena Joshi, Redis Labs
Redis Labs
Boosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and Spark
Dvir Volk
Redis by-hari
Redis by-hari
Hari Bachala
10 Ways to Scale with Redis - LA Redis Meetup 2019
10 Ways to Scale with Redis - LA Redis Meetup 2019
Dave Nielsen
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Mike Friedman
Redis Modules - Redis India Tour - 2017
Redis Modules - Redis India Tour - 2017
HashedIn Technologies
Orchestrating Redis & K8s Operators
Orchestrating Redis & K8s Operators
DoiT International
Cluster Computing with Dryad
Cluster Computing with Dryad
butest
10 Ways to Scale Your Website Silicon Valley Code Camp 2019
10 Ways to Scale Your Website Silicon Valley Code Camp 2019
Dave Nielsen
RedisConf18 - Active-Active Geo-Distributed Apps with Redis CRDTs (conflict f...
RedisConf18 - Active-Active Geo-Distributed Apps with Redis CRDTs (conflict f...
Redis Labs
Speed up your Symfony2 application and build awesome features with Redis
Speed up your Symfony2 application and build awesome features with Redis
Ricard Clau
Redis 101
Redis 101
Geoff Hoffman
Extend Redis with Modules
Extend Redis with Modules
Itamar Haber
RedisConf 2016 - Redis usage and ecosystem
RedisConf 2016 - Redis usage and ecosystem
François-Guillaume Ribreau
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBD
ShapeBlue
Fun with Ruby and Redis
Fun with Ruby and Redis
javier ramirez
Ähnlich wie Redis - N✮SQL Berlin
(20)
Redis memcached pdf
Redis memcached pdf
Introduction to Redis
Introduction to Redis
NoSQL - Motivation and Overview
NoSQL - Motivation and Overview
Developing a Redis Module - Hackathon Kickoff
Developing a Redis Module - Hackathon Kickoff
What's new with enterprise Redis - Leena Joshi, Redis Labs
What's new with enterprise Redis - Leena Joshi, Redis Labs
Boosting Machine Learning with Redis Modules and Spark
Boosting Machine Learning with Redis Modules and Spark
Redis by-hari
Redis by-hari
10 Ways to Scale with Redis - LA Redis Meetup 2019
10 Ways to Scale with Redis - LA Redis Meetup 2019
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Building Scalable, Distributed Job Queues with Redis and Redis::Client
Redis Modules - Redis India Tour - 2017
Redis Modules - Redis India Tour - 2017
Orchestrating Redis & K8s Operators
Orchestrating Redis & K8s Operators
Cluster Computing with Dryad
Cluster Computing with Dryad
10 Ways to Scale Your Website Silicon Valley Code Camp 2019
10 Ways to Scale Your Website Silicon Valley Code Camp 2019
RedisConf18 - Active-Active Geo-Distributed Apps with Redis CRDTs (conflict f...
RedisConf18 - Active-Active Geo-Distributed Apps with Redis CRDTs (conflict f...
Speed up your Symfony2 application and build awesome features with Redis
Speed up your Symfony2 application and build awesome features with Redis
Redis 101
Redis 101
Extend Redis with Modules
Extend Redis with Modules
RedisConf 2016 - Redis usage and ecosystem
RedisConf 2016 - Redis usage and ecosystem
What CloudStackers Need To Know About LINSTOR/DRBD
What CloudStackers Need To Know About LINSTOR/DRBD
Fun with Ruby and Redis
Fun with Ruby and Redis
Mehr von mattmatt
Cloud Conf - Datenbanken in der Cloud
Cloud Conf - Datenbanken in der Cloud
mattmatt
Mein Freund Der Legacy Code
Mein Freund Der Legacy Code
mattmatt
RabbitMQ And Nanite
RabbitMQ And Nanite
mattmatt
The Current State of Asynchronous Processing With Ruby
The Current State of Asynchronous Processing With Ruby
mattmatt
Upstream Goes To Maine
Upstream Goes To Maine
mattmatt
Smalltalk on Git
Smalltalk on Git
mattmatt
Mehr von mattmatt
(6)
Cloud Conf - Datenbanken in der Cloud
Cloud Conf - Datenbanken in der Cloud
Mein Freund Der Legacy Code
Mein Freund Der Legacy Code
RabbitMQ And Nanite
RabbitMQ And Nanite
The Current State of Asynchronous Processing With Ruby
The Current State of Asynchronous Processing With Ruby
Upstream Goes To Maine
Upstream Goes To Maine
Smalltalk on Git
Smalltalk on Git
Kürzlich hochgeladen
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Fwdays
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
BookNet Canada
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
Addepto
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
Raghuram Pandurangan
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
LoriGlavin3
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
Pixlogix Infotech
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
LoriGlavin3
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Databarracks
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
ScyllaDB
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
DianaGray10
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
HarshalMandlekar2
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
Dilum Bandara
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
BkGupta21
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Zilliz
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
Nathaniel Shimoni
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
LoriGlavin3
Kürzlich hochgeladen
(20)
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
How to write a Business Continuity Plan
How to write a Business Continuity Plan
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
Training state-of-the-art general text embedding
Training state-of-the-art general text embedding
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
Redis - N✮SQL Berlin
1.
Redis - Fast
and Furious N✮SQL Berlin Mathias Meyer, 22.10.2009 Peritor GmbH
2.
Self I work at
Peritor in Berlin I tweet @roidrage I code at http://github.com/mattmatt I blog at http://paperplanes.de 2
3.
Peritor
Working on http://scalarium.com 3
4.
Redis - Key-Value
Store Simple, yet awesome Fast, yet nonvolatile code.google.com/p/redis 4
5.
Redis REmote DIctionary Server
5
6.
Redis Went public in
March 2009 Just reached 1.0 6
7.
Redis < 6000 lines
of code 7
8.
Redis And the code
is simple 8
9.
Redis No threading, just
one process 9
10.
Redis Like Memcached, only
awesome 10
11.
Redis Simple and efficient
text-based protocol (just like grandma and Memcached used to make) 11
12.
Redis Protocol
12
13.
Redis Protocol redis[“key”] =
“value” 13
14.
Redis Protocol Duh!
14
15.
Redis Protocol Values can
be strings, lists or sets 15
16.
Redis Protocol -
Special Ops Push and pop elements (atomic) Fetch arbitrary set and array elements Sorting 16
17.
Redis Protocol set foo
4 1000 +OK 17
18.
Redis Protocol set foo
4 Request 1000 +OK Response 17
19.
Redis Protocol get foo $4 1000 get
bar $-1 18
20.
Redis Protocol get foo
Request $4 Response 1000 get bar Reques $-1 Respons 18
21.
Redis Protocol incr foo :1001 type
foo +string 19
22.
Redis Protocol -
Lists lpush pizza 4 fury +OK rpush pizza 8 ortolana +OK 20
23.
Redis Protocol -
Lists lrange pizza 0 1 *2 $4 fury $8 ortolana 21
24.
Redis Protocol -
Lists lrange pizza 0 1 Request *2 $4 fury Response $8 ortolana 21
25.
Redis Protocol -
Sets sadd mq 8 rabbitmq :1 sadd mq 6 zeromq :1 22
26.
Redis Protocol -
Sets smembers mq *2 $6 zeromq $8 rabbitmq 23
27.
Redis Protocol -
Sets sort mq alpha *2 $8 rabbitmq $6 zeromq 24
28.
Redis Protocol -
The Rest Random list/set access Intersections, Unions Monitoring Controlling the Server Multi-Set Commands 25
29.
Redis Data is held
in memory, but can be persisted 26
30.
Redis Key-Value Database Persistent Asynchronous Just
like Super Pursuit Mode 27
31.
Redis Database Data is
written to disk asynchronously 28
32.
Redis Database
Redis Server Dump Database fork() Redis Server rename() exit() 29
33.
Redis Database save 900
1 save 300 10 save 60 100000 30
34.
Replication 1 Master -
N Slaves Asynchronous on Master Synchronous on Slave 31
35.
Redis Replication Like dumping
the database, only to a different file descriptor. 32
36.
Redis Replication
Redis Master Redis Slave Redis Slave Redis Slave Redis Slave 33
37.
Redis - Scaling Horizontal
• Run multiple Redis processes • Use HashRing (e.g. in redis-rb) 34
38.
Redis - Scaling Vertical
• Master-Slave setup • Fetch data from any slave (e.g. random) 35
39.
To Redis, or
not to Redis? 36
40.
As always, it
depends 37
41.
To Redis Caching Statistical data Recoverable
state Worker queue 38
42.
Not to Redis 100%
consistent dataset required Data is larger than memory 39
43.
Redis Use Cases Nanite
- A self-assembling cluster of Ruby daemons 40
44.
The most important
41
45.
Is it faster
than 42
46.
No, but fast
enough for you (if you need the extra features) 43
47.
Redis Simple, fast, awesome.
44
48.
Questions
45
49.
Peritor GmbH Blücherstr. 22,
Hof III Aufgang 6 10961 Berlin Tel.: +49 (0)30 69 20 09 84 0 Fax: +49 (0)30 69 20 09 84 9 Internet: www.peritor.com E-Mail: info@peritor.com © Peritor GmbH - Alle Rechte Vorbehalten
Hinweis der Redaktion
(that&#x2019;s not a lot, even for C code)
(even for C code)
(old school)
Strings can&#x2019;t be longer than 1GB Lists are implemented as doubly linked lists Sets are stored as hashesh
Different datatypes require using different command sets. Not doing so will raise errors.
Get is wicked fast.
incr requires parsing of the value
lset is destructive, replaces the existing element
List access only through ranges, getting a whole list requires you to fetch the length first.
Data in Redis isn&#x2019;t volatile, at least most of the time
..and only if necessary. Data is put into a single dump file.
Database is dumped into a tempfile, then renamed. It&#x2019;s possible to loose data in the dumping period.
Writes out data after x seconds if at least y number of keys have changed. On startup the dump is reread into memory.
Fast, more complex, datatypes
Redis stores the daemon state and is used for service lookup.
Jetzt herunterladen