SlideShare a Scribd company logo
REDIS – Letem světem

      Robert Havelka
What?

 „key-value” or „key-datastructure” storage
 string, hash, list, set a sorted set
 master - slave
 transactions
What REDIS means?

 It means REmote DIctionary Server
 It is a joke on the word Redistribute (instead to
 use just a Relational DB redistribute your
 workload among Redis servers)
String

 binary safe (JPEG, serialized objects)
 max 512M
 atomic counters
   INCR, DECR (64bit signed int)
 random access vector
   GETRANGE, SETRANGE


 http://redis.io/commands/#string
List

 list of Strings
 ordered
 max length of a List is 232-1
 B(L|R)POP




 http://redis.io/commands#list
Set

 set of Strings
 max members in a Set is 232-1
 extract elements at random
      SPOP, SRANDMEMBER




 http://redis.io/commands#set
Hash

 map between String fields and String values
 Hash can store up to 232-1 field-value pairs




 http://redis.io/commands#hash
Sorted set

 set of Strings
 members with score
 „most advanced Redis data types“




 http://redis.io/commands#sorted_set
Transaction

 WATCH – check and set
 UNWATCH
 MULTI – start transaction block
 EXEC – commit transaction, unWATCH all
 DISCARD – rollback
Expiration

 EXPIRE (s)
 EXPIREAT (timestamp)
 PERSIST(cancel)
Persistence

 RDB
   memory snapshot
   key changes


 AOF
   fast (~1s)
   redis-check-aof + diff
Replication

 master – multiple slaves
   slave – slave
   graph-like structure



 cluster
Clients

 C – hiredis
 Java – Jedis
 LUA – redis-lua
 Perl – Redis
 PHP – Predis
 Python – redis-py
 Ruby – redis-rb
Sources

 http://redis.io
 Interactive tutorial - http://try.redis-db.com

More Related Content

What's hot

Redis 101 Data Structure
Redis 101 Data StructureRedis 101 Data Structure
Redis 101 Data Structure
Ismaeel Enjreny
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
Sagar Kumar
 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testing
Garuda Trainings
 
Red Hat Linux cheat sheet
Red Hat Linux cheat sheetRed Hat Linux cheat sheet
Red Hat Linux cheat sheet
Rafael Montesinos Muñoz
 
Linux commands
Linux commandsLinux commands
Linux commands
Manish Bothra
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
Hanan Nmr
 
NoSQL Couchbase Lite & BigData HPCC Systems
NoSQL Couchbase Lite & BigData HPCC SystemsNoSQL Couchbase Lite & BigData HPCC Systems
NoSQL Couchbase Lite & BigData HPCC Systems
Fujio Turner
 
Redis Introduction
Redis IntroductionRedis Introduction
Redis IntroductionAlex Su
 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
Isham Rashik
 
Basic linux commands for bioinformatics
Basic linux commands for bioinformaticsBasic linux commands for bioinformatics
Basic linux commands for bioinformatics
Bonnie Ng
 
Basic
BasicBasic
Basic
ARYA TM
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
abclearnn
 
What is a domain name system(dns)?
What is a domain name system(dns)?What is a domain name system(dns)?
What is a domain name system(dns)?
Abhishek Mitra
 
DNS – Domain Name Service
DNS – Domain Name ServiceDNS – Domain Name Service
DNS – Domain Name Service
Johnny Fortune
 
Introduction to redis
Introduction to redisIntroduction to redis
Introduction to redis
Tanu Siwag
 
Linux commands
Linux commandsLinux commands
Linux commands
Radheshyam Kori
 

What's hot (20)

Redis 101 Data Structure
Redis 101 Data StructureRedis 101 Data Structure
Redis 101 Data Structure
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testing
 
Red Hat Linux cheat sheet
Red Hat Linux cheat sheetRed Hat Linux cheat sheet
Red Hat Linux cheat sheet
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
NoSQL Couchbase Lite & BigData HPCC Systems
NoSQL Couchbase Lite & BigData HPCC SystemsNoSQL Couchbase Lite & BigData HPCC Systems
NoSQL Couchbase Lite & BigData HPCC Systems
 
Redis Introduction
Redis IntroductionRedis Introduction
Redis Introduction
 
DNS resolution
DNS resolutionDNS resolution
DNS resolution
 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
 
Basic linux commands for bioinformatics
Basic linux commands for bioinformaticsBasic linux commands for bioinformatics
Basic linux commands for bioinformatics
 
Basic
BasicBasic
Basic
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Basic linux day 3
Basic linux day 3Basic linux day 3
Basic linux day 3
 
Linux basic commands with examples
Linux basic commands with examplesLinux basic commands with examples
Linux basic commands with examples
 
What is a domain name system(dns)?
What is a domain name system(dns)?What is a domain name system(dns)?
What is a domain name system(dns)?
 
DNS – Domain Name Service
DNS – Domain Name ServiceDNS – Domain Name Service
DNS – Domain Name Service
 
Introduction to redis
Introduction to redisIntroduction to redis
Introduction to redis
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Basic Linux day 2
Basic Linux day 2Basic Linux day 2
Basic Linux day 2
 

Viewers also liked

המדריך השלם לרכישת נעלי כלה
המדריך השלם לרכישת נעלי כלההמדריך השלם לרכישת נעלי כלה
המדריך השלם לרכישת נעלי כלהshim0207
 
העלייה על הקרקע
העלייה על הקרקעהעלייה על הקרקע
העלייה על הקרקע
ruti regev
 
מצגת 1 קורס סטיילינג
מצגת 1 קורס סטיילינגמצגת 1 קורס סטיילינג
מצגת 1 קורס סטיילינגstylingwizo
 
Bibliotecas De Lujo En Europa
Bibliotecas De Lujo En EuropaBibliotecas De Lujo En Europa
Bibliotecas De Lujo En Europa
guest0f8f511
 
מצגת ועדת חברים
מצגת ועדת חבריםמצגת ועדת חברים
מצגת ועדת חברים
Eli Vogman
 
Another Introduce to Redis
Another Introduce to RedisAnother Introduce to Redis
Another Introduce to Redisjiaqing zheng
 
Angulos
AngulosAngulos
Angulos
alaspavolar
 
2011 love yall
2011 love yall2011 love yall
2011 love yall
TiffStrong OwnBiff
 
The Best Members Use Shared Branching
The Best Members Use Shared BranchingThe Best Members Use Shared Branching
The Best Members Use Shared Branching
tdgd
 
Cristina y sus amigos
Cristina y sus amigosCristina y sus amigos
Cristina y sus amigos
agurmg
 
ימי הערכות תשעג יהודה פרנקל
ימי הערכות תשעג   יהודה פרנקלימי הערכות תשעג   יהודה פרנקל
ימי הערכות תשעג יהודה פרנקלנטע לב
 
מהלכים מרכזים בשנת הלימודית תשע"ב
מהלכים מרכזים בשנת הלימודית תשע"במהלכים מרכזים בשנת הלימודית תשע"ב
מהלכים מרכזים בשנת הלימודית תשע"ב
Gideon Saar
 
אנשי קשר נטעים
אנשי קשר נטעיםאנשי קשר נטעים
אנשי קשר נטעים
גן רווה
 
Sistemas1
Sistemas1Sistemas1
Sistemas1
Andrea Espitia
 
פלייר יום צופה 2012
פלייר יום צופה 2012פלייר יום צופה 2012
פלייר יום צופה 2012
גן רווה
 
סטנדרטים מחודשים במידענות
סטנדרטים מחודשים במידענותסטנדרטים מחודשים במידענות
סטנדרטים מחודשים במידענותronit2107
 

Viewers also liked (20)

המדריך השלם לרכישת נעלי כלה
המדריך השלם לרכישת נעלי כלההמדריך השלם לרכישת נעלי כלה
המדריך השלם לרכישת נעלי כלה
 
העלייה על הקרקע
העלייה על הקרקעהעלייה על הקרקע
העלייה על הקרקע
 
Archivo10
Archivo10Archivo10
Archivo10
 
מצגת 1 קורס סטיילינג
מצגת 1 קורס סטיילינגמצגת 1 קורס סטיילינג
מצגת 1 קורס סטיילינג
 
Bibliotecas De Lujo En Europa
Bibliotecas De Lujo En EuropaBibliotecas De Lujo En Europa
Bibliotecas De Lujo En Europa
 
מצגת ועדת חברים
מצגת ועדת חבריםמצגת ועדת חברים
מצגת ועדת חברים
 
Another Introduce to Redis
Another Introduce to RedisAnother Introduce to Redis
Another Introduce to Redis
 
Actividad 13
Actividad 13Actividad 13
Actividad 13
 
Angulos
AngulosAngulos
Angulos
 
2011 love yall
2011 love yall2011 love yall
2011 love yall
 
The Best Members Use Shared Branching
The Best Members Use Shared BranchingThe Best Members Use Shared Branching
The Best Members Use Shared Branching
 
Cristina y sus amigos
Cristina y sus amigosCristina y sus amigos
Cristina y sus amigos
 
ימי הערכות תשעג יהודה פרנקל
ימי הערכות תשעג   יהודה פרנקלימי הערכות תשעג   יהודה פרנקל
ימי הערכות תשעג יהודה פרנקל
 
First civilizations
First civilizationsFirst civilizations
First civilizations
 
מהלכים מרכזים בשנת הלימודית תשע"ב
מהלכים מרכזים בשנת הלימודית תשע"במהלכים מרכזים בשנת הלימודית תשע"ב
מהלכים מרכזים בשנת הלימודית תשע"ב
 
Sistemas
SistemasSistemas
Sistemas
 
אנשי קשר נטעים
אנשי קשר נטעיםאנשי קשר נטעים
אנשי קשר נטעים
 
Sistemas1
Sistemas1Sistemas1
Sistemas1
 
פלייר יום צופה 2012
פלייר יום צופה 2012פלייר יום צופה 2012
פלייר יום צופה 2012
 
סטנדרטים מחודשים במידענות
סטנדרטים מחודשים במידענותסטנדרטים מחודשים במידענות
סטנדרטים מחודשים במידענות
 

Similar to Robert Havelka: REDIS – Letem světem

Chicago Data Summit: Apache HBase: An Introduction
Chicago Data Summit: Apache HBase: An IntroductionChicago Data Summit: Apache HBase: An Introduction
Chicago Data Summit: Apache HBase: An Introduction
Cloudera, Inc.
 
Redis introduction
Redis introductionRedis introduction
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
Itamar Haber
 
Fun with Ruby and Redis
Fun with Ruby and RedisFun with Ruby and Redis
Fun with Ruby and Redis
javier ramirez
 
quickguide-einnovator-9-redis
quickguide-einnovator-9-redisquickguide-einnovator-9-redis
quickguide-einnovator-9-redisjorgesimao71
 
Redis Installation Configuration And Implementation
Redis Installation Configuration And ImplementationRedis Installation Configuration And Implementation
Redis Installation Configuration And Implementation
Abhijeet Shekhar
 
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
Andrew Lavers
 
Map-Reduce and Apache Hadoop
Map-Reduce and Apache HadoopMap-Reduce and Apache Hadoop
Map-Reduce and Apache Hadoop
Svetlin Nakov
 
Etu L2 Training - Hadoop 企業應用實作
Etu L2 Training - Hadoop 企業應用實作Etu L2 Training - Hadoop 企業應用實作
Etu L2 Training - Hadoop 企業應用實作
James Chen
 
Scaling Redis To 1M Ops/Sec: Jane Paek
Scaling Redis To 1M Ops/Sec: Jane PaekScaling Redis To 1M Ops/Sec: Jane Paek
Scaling Redis To 1M Ops/Sec: Jane Paek
Redis Labs
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
vipulvaid
 
Python redis talk
Python redis talkPython redis talk
Python redis talk
Josiah Carlson
 
Redis Use Patterns (DevconTLV June 2014)
Redis Use Patterns (DevconTLV June 2014)Redis Use Patterns (DevconTLV June 2014)
Redis Use Patterns (DevconTLV June 2014)
Itamar Haber
 
Redis
RedisRedis
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
Akshay Tiwari
 
You know, for search. Querying 24 Billion Documents in 900ms
You know, for search. Querying 24 Billion Documents in 900msYou know, for search. Querying 24 Billion Documents in 900ms
You know, for search. Querying 24 Billion Documents in 900ms
Jodok Batlogg
 
Hadoop and big data training
Hadoop and big data trainingHadoop and big data training
Hadoop and big data training
agiamas
 
Hands on Hadoop and pig
Hands on Hadoop and pigHands on Hadoop and pig
Hands on Hadoop and pig
Sudar Muthu
 

Similar to Robert Havelka: REDIS – Letem světem (20)

Chicago Data Summit: Apache HBase: An Introduction
Chicago Data Summit: Apache HBase: An IntroductionChicago Data Summit: Apache HBase: An Introduction
Chicago Data Summit: Apache HBase: An Introduction
 
Redis introduction
Redis introductionRedis introduction
Redis introduction
 
Introduction to Redis
Introduction to RedisIntroduction to Redis
Introduction to Redis
 
Redis
RedisRedis
Redis
 
Fun with Ruby and Redis
Fun with Ruby and RedisFun with Ruby and Redis
Fun with Ruby and Redis
 
quickguide-einnovator-9-redis
quickguide-einnovator-9-redisquickguide-einnovator-9-redis
quickguide-einnovator-9-redis
 
Redis Installation Configuration And Implementation
Redis Installation Configuration And ImplementationRedis Installation Configuration And Implementation
Redis Installation Configuration And Implementation
 
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
Redis is not just a cache, Andrew Lavers, ConFoo Montreal 2020
 
Map-Reduce and Apache Hadoop
Map-Reduce and Apache HadoopMap-Reduce and Apache Hadoop
Map-Reduce and Apache Hadoop
 
Etu L2 Training - Hadoop 企業應用實作
Etu L2 Training - Hadoop 企業應用實作Etu L2 Training - Hadoop 企業應用實作
Etu L2 Training - Hadoop 企業應用實作
 
Scaling Redis To 1M Ops/Sec: Jane Paek
Scaling Redis To 1M Ops/Sec: Jane PaekScaling Redis To 1M Ops/Sec: Jane Paek
Scaling Redis To 1M Ops/Sec: Jane Paek
 
Domain Name Server
Domain Name ServerDomain Name Server
Domain Name Server
 
Python redis talk
Python redis talkPython redis talk
Python redis talk
 
Redis Use Patterns (DevconTLV June 2014)
Redis Use Patterns (DevconTLV June 2014)Redis Use Patterns (DevconTLV June 2014)
Redis Use Patterns (DevconTLV June 2014)
 
Redis
RedisRedis
Redis
 
Nextag talk
Nextag talkNextag talk
Nextag talk
 
Domain Name System DNS
Domain Name System DNSDomain Name System DNS
Domain Name System DNS
 
You know, for search. Querying 24 Billion Documents in 900ms
You know, for search. Querying 24 Billion Documents in 900msYou know, for search. Querying 24 Billion Documents in 900ms
You know, for search. Querying 24 Billion Documents in 900ms
 
Hadoop and big data training
Hadoop and big data trainingHadoop and big data training
Hadoop and big data training
 
Hands on Hadoop and pig
Hands on Hadoop and pigHands on Hadoop and pig
Hands on Hadoop and pig
 

Recently uploaded

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
Adtran
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
RinaMondal9
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
Neo4j
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
Alex Pruden
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 

Recently uploaded (20)

Pushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 daysPushing the limits of ePRTC: 100ns holdover for 100 days
Pushing the limits of ePRTC: 100ns holdover for 100 days
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Free Complete Python - A step towards Data Science
Free Complete Python - A step towards Data ScienceFree Complete Python - A step towards Data Science
Free Complete Python - A step towards Data Science
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
GraphSummit Singapore | Neo4j Product Vision & Roadmap - Q2 2024
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex ProofszkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
zkStudyClub - Reef: Fast Succinct Non-Interactive Zero-Knowledge Regex Proofs
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 

Robert Havelka: REDIS – Letem světem

  • 1. REDIS – Letem světem Robert Havelka
  • 2. What? „key-value” or „key-datastructure” storage string, hash, list, set a sorted set master - slave transactions
  • 3. What REDIS means? It means REmote DIctionary Server It is a joke on the word Redistribute (instead to use just a Relational DB redistribute your workload among Redis servers)
  • 4. String binary safe (JPEG, serialized objects) max 512M atomic counters INCR, DECR (64bit signed int) random access vector GETRANGE, SETRANGE http://redis.io/commands/#string
  • 5. List list of Strings ordered max length of a List is 232-1 B(L|R)POP http://redis.io/commands#list
  • 6. Set set of Strings max members in a Set is 232-1 extract elements at random SPOP, SRANDMEMBER http://redis.io/commands#set
  • 7. Hash map between String fields and String values Hash can store up to 232-1 field-value pairs http://redis.io/commands#hash
  • 8. Sorted set set of Strings members with score „most advanced Redis data types“ http://redis.io/commands#sorted_set
  • 9. Transaction WATCH – check and set UNWATCH MULTI – start transaction block EXEC – commit transaction, unWATCH all DISCARD – rollback
  • 10. Expiration EXPIRE (s) EXPIREAT (timestamp) PERSIST(cancel)
  • 11. Persistence RDB memory snapshot key changes AOF fast (~1s) redis-check-aof + diff
  • 12. Replication master – multiple slaves slave – slave graph-like structure cluster
  • 13. Clients C – hiredis Java – Jedis LUA – redis-lua Perl – Redis PHP – Predis Python – redis-py Ruby – redis-rb
  • 14. Sources http://redis.io Interactive tutorial - http://try.redis-db.com