REDIS





What is Redis?





NoSQL Database

Persistent

Key - Value based
&

Data Structures




Narcissism




USE CASES &

THE DATA TYPES



LEADER BOARD

SORTED SETS



SORTED SETS

key: (score member) (score member)




CACHING



CACHING

Identify the value to be cached

Set expire

Use TTL to monitor



   LISTS

 POPULAR PHOTOs





CREDITS



CREDITS

NAZIM ZEESHAN

                               CTO Eventifier



CREDITS

SRIPATHI KRISHNAN

                                 Redis geek



CREDITS

PYCON ORGANIZERS



INTERNAL DATA TYPES

6 of them


INTERNAL DATA TYPES


STRINGS

Byte arrays

Length as prefix



INTERNAL DATA TYPES


DICTIONARIES

Stores top level keys

Implements Set and Hash



INTERNAL DATA TYPES


Doubly Linked Lists

Textbook implementation


INTERNAL DATA TYPES


SKIP LISTS

Fast and Slow moving trains


INTERNAL DATA TYPES


ZIP LISTS

Doubly linked list without pointers

Single array-like structure


INTERNAL DATA TYPES


INT SETS

Sorted Integer array


SUMMARY OF DATA TYPES



THANK YOU

Questions?



HARIS IBRAHIM K. V.

blucalvin@gmail.com

@harisibrahimkv

http://sosaysharis.wordpress.com/


AN INVITATION TO

PYCON INDIA

@pyconindia

September 26 - 28

http://in.pycon.org/

Redis - What, why and where

By harisibrahimkv

Redis - What, why and where

A introduction to what Redis is, why it is a good companion for a web developer and where you can use it within your application.

  • 1,073