r bert m ro
Download
Skip this Video
Download Presentation
Róbert Móro

Loading in 2 Seconds...

play fullscreen
1 / 8

Róbert Móro - PowerPoint PPT Presentation


  • 112 Views
  • Uploaded on

Róbert Móro. redis. In-memory key-value store Master-slave replication Persistence RDB (snapshots) AOF (append-only log file) Supported languages Ruby, Python, Java, C, PHP, Javascript (Node.js). redis. Data types String, List, Set, Hash, Sorted set Used in

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Róbert Móro' - cirila


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
redis
redis
  • In-memory key-value store
  • Master-slave replication
  • Persistence
    • RDB (snapshots)
    • AOF (append-only log file)
  • Supported languages
    • Ruby, Python, Java, C, PHP, Javascript (Node.js)
redis1
redis
  • Data types
    • String, List, Set, Hash, Sorted set
  • Used in
    • Engine Yard, Github, stackoverflow, …
redis2
redis
  • Data types
    • String, List, Set, Hash, Sorted set
  • Used in
    • Engine Yard, Github, stackoverflow, … ALEF
redis data types
redis data types
  • String
    • can contain any kind of data, for instance a JPEG image or a serialized object
    • INCR, DECR, APPEND, ...
  • List
    • lists of strings, sorted by insertion order
    • LPUSH, RPUSH, ...
redis data types1
redis data types
  • Set
    • an unordered collection of Strings
    • it is possible to add, remove, and test for existence of members in O(1)
    • SADD, SUNION, SINTER, SDIFF, SCARD, ...
  • Hash
    • maps between string fields and string values
    • HGETALL, HSET, HMSET, HKEYS, HVALS, ...
redis data types2
redis data types
  • SortedSet
    • non-repeating collections of Strings similar to Set
    • every member of a Sorted Set is associated with score
    • scores may be repeated
    • members of Sorted Set are ordered by their score
    • ZRANGE, ZRANK, ZSCORE, ZCOUNT, ...
when to use redis
When to use redis?
  • Speed is critical
  • Data can be contained in RAM
  • Loss of some data is acceptable
  • http://redis.io
ad