/
Redis:~ Data Structure server Redis:~ Data Structure server

Redis:~ Data Structure server - PowerPoint Presentation

pasty-toler
pasty-toler . @pasty-toler
Follow
380 views
Uploaded On 2018-10-24

Redis:~ Data Structure server - PPT Presentation

httptyagibhaicom Author Anil Sharma What is Redis It stands for Re mote Di rectory S erver Redis is an open source BSD licensed inmemory data structure store used as a database cache and message broker It supports data structures such as strings hashes lists sets sor ID: 695586

data redis sets strings redis data strings sets http category collection source structure queries sorted storage hyperloglogs geospatial indexes

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Redis:~ Data Structure server" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Redis:~

Data Structure server

http://tyagibhai.com

Author

Anil SharmaSlide2

What is Redis?

It stands for

Remote Directory

Server

Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.Slide3

Who is using redis?

source:http://techstacks.io/tech/redisSlide4

Why RedisSlide5

Ridiculously fast/Low latencySlide6

I am tiredSlide7

Whooo...Slide8
Slide9

Ridiculously fast/Low latency

Data structure storage

Open source and

easy to use

Replication and persistence

Support for your favorite development language

Transactions and Event queue/PubSub

Lua scripting

Auto expireSlide10

When redis?Slide11

Page Caching / Session caching / Cookie Storage / Search Engine

Counter / Analytics / Fraud Detection

Data that expires / Leaderboards

Ad targeting

Messaging

Geo searches

Configuration management

High I/O workloadSlide12

Strings — a sequence of binary safe bytes up to 512 MB

Hashes — a collection of key value pairs

Lists — an in-insertion-order collection of strings

Sets — a collection of unique strings with no ordering

Sorted sets — a collection of unique strings ordered by user defined scoringBitmaps

Hyperloglogs

Geospatial indexes with radius queries

Data Types:Slide13

Namespacing:

We can use “.” or “-” to make it easy

Ex.

Video.category.id.downloads

Video.category.id.likesVideo.category.id.commentsImage.category.id.downloadsUser.id.userinfoUser.id.lastLoginSlide14

What is redis not good for

Neither SQL nor NoSQL

Need ACID Transaction

Every byte is precious

Single threading

Memory problem

6. SecuritySlide15

How to?Slide16

http://try.redis.io/

http://try.redis.io/Slide17
Slide18

Thankyou

Ask question : goo.gl/slides/qqgryu

Tweet : @realAnilSharma with #Redis