An Introduction to Redis

Steve
October 18, 2013

An Introduction to Redis

A brief introduction to Redis

Steve

October 18, 2013

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

16 slides
  1. What is it? Redis is an open source, advanced key-value

    store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
  2. What is it? Redis is an open source, advanced key-value

    store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets. What?
  3. What is it? Think memcached: string => string But on

    steroids: string => string/int/list/hash/set
  4. What is it? Think memcached: string => string But on

    steroids: string => string/int/list/hash/set All the operations you’d expect for those types
  5. What is it? Think memcached: string => string But on

    steroids: string => string/int/list/hash/set All the operations you’d expect for those types Plus other weird stuff: sorted sets, pub-sub
  6. In memory (ram), very fast (100’s K ops/sec) RDB (binary

    dump, default), every X sec/op Storage
  7. In memory (ram), very fast (100’s K ops/sec) RDB (binary

    dump, default), every X sec/op AOF (append log), safe but slow Storage
  8. Atomic (one event loop) Supports transactions (think batches) Most operations

    O(1) Extensible with Lua (custom atomic ops) Behaviour

More Decks by Steve

Other Decks in Programming