SlideShare a Scribd company logo
REDIS: NOSQL DATA STORAGE
By
Abhijeet Shekhar
Everything and Anything I.T
Redis
 Redis is an open source, advanced
key-value data store
 Often referred to as a data structure server
since keys can contain strings, hashes, lists, sets
and sorted sets
 Redis works with an in-memory dataset
 Every second Redis can handle more than
100,000 Read/Write operations.
 It is possible to persist dataset either by
 dumping the dataset to disk every once in a while
 or by appending each command to a log
List of Databases
 Classical variant - store data in a relational
database
 MySQL
 PostgreSQL
 SQLite
 HSQLDB
 and many more...
 Modern trend in a Web programming:
store data in NoSQL databases
NoSQL(Not Only SQL)
"Any form of distributed system with state, of which
a distributed database is the canonical example,
can exhibit almost two of the properties desirable
Consistency, Availability and Persistence“
--By CAP theorem
NoSQL provides
 Storage
 Retrieval of data with less constrained,
 Simplicity of design,
 Horizontal scaling,
 Availability,
 Highly optimized ,
 Performance benefits in terms of latency and throughput.
Why NoSQL?
 Two trends:
 The exponential growth of the volume of data
generated by users and systems
 The increasing interdependency and complexity of
data, accelerated by the Internet, Web 2.0, social
networks, mobile, etc
 NoSQL databases are useful when working with a
huge quantity of data and the data's nature does
not require a relational model for the data
structure
Basic Concepts and Techniques
 CAP theorem (Consistency, Availability, Partition
tolerance)
 ACID (Atomicity, Consistency, Isolation and Durability)
 BASE (Basically Available, Soft State, Eventual
consistency)
Categories of NoSQL storages
 Key-Value
 memcached
 Redis
 Column Family
 Cassandra
 Document
 MongoDB
 Tabular
 BigTable, HBase
 Graph, XML, Object, Multivalued,…
NoSQL Classification by feature
Data Model Performance Scalability Flexibility Complexity Functionality
Relational
Database
variable variable low moderate
relational
algebra.
Key–value
Stores
high high high none
variable
(none)
Graph
Database
variable variable high high graph theory
Document
Store
high
variable
(high)
high low
variable
(low)
Column Store high high moderate low minimal
Redis Architecture
Some Redis commands
$ redis-cli set mykey "my binary safe value"
$ ok
$ redis-cli get mykey
my binary safe value
List of Redis Clients
 PHP,
 Java,
 Python,
 Ruby,
 Perl,
 Scala,
 TCL,
 C, C++,Objective C, Node.js,
 Many more…
Redis Use Case
 Show latest items listings in your home page.
 Deletion and filtering.
 Leaderboards and related problems
 Queues
 Real time analysis of what is happening, for
stats, anti spam, or whatever.
 Caching
 Many more…
Who is using Redis?
Thanks 

More Related Content

ODP
An Introduction to REDIS NoSQL database
PPTX
PPT
Introduction to redis
PPTX
Introduction to Redis
PPTX
The columnar roadmap: Apache Parquet and Apache Arrow
PDF
Using Delta Lake to Transform a Legacy Apache Spark to Support Complex Update...
PDF
Building robust CDC pipeline with Apache Hudi and Debezium
PPTX
ORC File Introduction
An Introduction to REDIS NoSQL database
Introduction to redis
Introduction to Redis
The columnar roadmap: Apache Parquet and Apache Arrow
Using Delta Lake to Transform a Legacy Apache Spark to Support Complex Update...
Building robust CDC pipeline with Apache Hudi and Debezium
ORC File Introduction

What's hot (20)

KEY
Redis overview for Software Architecture Forum
PDF
Introduction to Elasticsearch
PDF
Parquet Hadoop Summit 2013
PDF
Data Engineer's Lunch #83: Strategies for Migration to Apache Iceberg
PPTX
Hive and Apache Tez: Benchmarked at Yahoo! Scale
PDF
NoSQL databases
PPTX
File Format Benchmark - Avro, JSON, ORC & Parquet
PPTX
Apache Ignite vs Alluxio: Memory Speed Big Data Analytics
PDF
Introduction to MongoDB
PPTX
Squirreling Away $640 Billion: How Stripe Leverages Flink for Change Data Cap...
PPTX
Ozone: scaling HDFS to trillions of objects
PDF
Building a Streaming Pipeline on Kubernetes Using Kafka Connect, KSQLDB & Apa...
PPTX
Introduction to NoSQL Databases
PPTX
Relational databases vs Non-relational databases
PPTX
Ozone- Object store for Apache Hadoop
PPTX
Introduction to Redis
PDF
Streaming Data Lakes using Kafka Connect + Apache Hudi | Vinoth Chandar, Apac...
ODP
Introduction to Apache Cassandra
PPTX
Real time big data stream processing
PDF
The Parquet Format and Performance Optimization Opportunities
Redis overview for Software Architecture Forum
Introduction to Elasticsearch
Parquet Hadoop Summit 2013
Data Engineer's Lunch #83: Strategies for Migration to Apache Iceberg
Hive and Apache Tez: Benchmarked at Yahoo! Scale
NoSQL databases
File Format Benchmark - Avro, JSON, ORC & Parquet
Apache Ignite vs Alluxio: Memory Speed Big Data Analytics
Introduction to MongoDB
Squirreling Away $640 Billion: How Stripe Leverages Flink for Change Data Cap...
Ozone: scaling HDFS to trillions of objects
Building a Streaming Pipeline on Kubernetes Using Kafka Connect, KSQLDB & Apa...
Introduction to NoSQL Databases
Relational databases vs Non-relational databases
Ozone- Object store for Apache Hadoop
Introduction to Redis
Streaming Data Lakes using Kafka Connect + Apache Hudi | Vinoth Chandar, Apac...
Introduction to Apache Cassandra
Real time big data stream processing
The Parquet Format and Performance Optimization Opportunities
Ad

Similar to Introduction of Redis as NoSQL Database (20)

PPTX
NoSQL in Big Data Analytics Tools .pptx
PPTX
Non relational databases-no sql
PDF
Vskills Apache Cassandra sample material
DOCX
Unit II -BIG DATA ANALYTICS.docx
PPTX
PPTX
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
PPTX
NoSQL powerpoint presentation difference with rdbms
PPTX
Nosql Introduction, Basics
PPT
NoSQL Databases
PPS
PPTX
Introduction to NoSQL & Features of NoSQL.pptx
DOC
Assignment_4
PPTX
unit2-ppt1.pptx
PPTX
2018 05 08_biological_databases_no_sql
PDF
All About Database v1.1
PPTX
NoSQL Basics and MongDB
PDF
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
PDF
the rising no sql technology
PPTX
No sqlpresentation
NoSQL in Big Data Analytics Tools .pptx
Non relational databases-no sql
Vskills Apache Cassandra sample material
Unit II -BIG DATA ANALYTICS.docx
NoSQL Data Stores in Research and Practice - ICDE 2016 Tutorial - Extended Ve...
NoSQL powerpoint presentation difference with rdbms
Nosql Introduction, Basics
NoSQL Databases
Introduction to NoSQL & Features of NoSQL.pptx
Assignment_4
unit2-ppt1.pptx
2018 05 08_biological_databases_no_sql
All About Database v1.1
NoSQL Basics and MongDB
NoSQL BIg Data Analytics Mongo DB and Cassandra .pdf
the rising no sql technology
No sqlpresentation
Ad

Recently uploaded (20)

PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Nekopoi APK 2025 free lastest update
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
ai tools demonstartion for schools and inter college
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
history of c programming in notes for students .pptx
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
Nekopoi APK 2025 free lastest update
Design an Analysis of Algorithms I-SECS-1021-03
Upgrade and Innovation Strategies for SAP ERP Customers
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
How Creative Agencies Leverage Project Management Software.pdf
2025 Textile ERP Trends: SAP, Odoo & Oracle
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
ai tools demonstartion for schools and inter college
Reimagine Home Health with the Power of Agentic AI​
Navsoft: AI-Powered Business Solutions & Custom Software Development
Odoo POS Development Services by CandidRoot Solutions
How to Migrate SBCGlobal Email to Yahoo Easily
history of c programming in notes for students .pptx
wealthsignaloriginal-com-DS-text-... (1).pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...

Introduction of Redis as NoSQL Database

  • 1. REDIS: NOSQL DATA STORAGE By Abhijeet Shekhar Everything and Anything I.T
  • 2. Redis  Redis is an open source, advanced key-value data store  Often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets  Redis works with an in-memory dataset  Every second Redis can handle more than 100,000 Read/Write operations.  It is possible to persist dataset either by  dumping the dataset to disk every once in a while  or by appending each command to a log
  • 3. List of Databases  Classical variant - store data in a relational database  MySQL  PostgreSQL  SQLite  HSQLDB  and many more...  Modern trend in a Web programming: store data in NoSQL databases
  • 4. NoSQL(Not Only SQL) "Any form of distributed system with state, of which a distributed database is the canonical example, can exhibit almost two of the properties desirable Consistency, Availability and Persistence“ --By CAP theorem NoSQL provides  Storage  Retrieval of data with less constrained,  Simplicity of design,  Horizontal scaling,  Availability,  Highly optimized ,  Performance benefits in terms of latency and throughput.
  • 5. Why NoSQL?  Two trends:  The exponential growth of the volume of data generated by users and systems  The increasing interdependency and complexity of data, accelerated by the Internet, Web 2.0, social networks, mobile, etc  NoSQL databases are useful when working with a huge quantity of data and the data's nature does not require a relational model for the data structure
  • 6. Basic Concepts and Techniques  CAP theorem (Consistency, Availability, Partition tolerance)  ACID (Atomicity, Consistency, Isolation and Durability)  BASE (Basically Available, Soft State, Eventual consistency)
  • 7. Categories of NoSQL storages  Key-Value  memcached  Redis  Column Family  Cassandra  Document  MongoDB  Tabular  BigTable, HBase  Graph, XML, Object, Multivalued,…
  • 8. NoSQL Classification by feature Data Model Performance Scalability Flexibility Complexity Functionality Relational Database variable variable low moderate relational algebra. Key–value Stores high high high none variable (none) Graph Database variable variable high high graph theory Document Store high variable (high) high low variable (low) Column Store high high moderate low minimal
  • 10. Some Redis commands $ redis-cli set mykey "my binary safe value" $ ok $ redis-cli get mykey my binary safe value
  • 11. List of Redis Clients  PHP,  Java,  Python,  Ruby,  Perl,  Scala,  TCL,  C, C++,Objective C, Node.js,  Many more…
  • 12. Redis Use Case  Show latest items listings in your home page.  Deletion and filtering.  Leaderboards and related problems  Queues  Real time analysis of what is happening, for stats, anti spam, or whatever.  Caching  Many more…
  • 13. Who is using Redis?