Mark As Completed Discussion

Redis Data Types

Redis supports the following data types in its store:

  • Strings – sequence of characters (text) or binary data
  • Lists - (linked lists) node-pointer based linear collections of data elements in the order that they were added in
  • Sets – unordered collection of un-repeated string elements
  • Sorted Sets – Sets associated with a score so the order can be maintained
  • Hashes – store a mapping of keys to values, the values that can be stored in hashes are strings and numbers
  • Bitmaps – also known as bit arrays and bit vectors are array data structures that store bits
  • HyperLogLogs – a heuristic data structure used to count unique items while using very low memory, the downside is a standard error rate of 1%
  • Streams - append only data structure where stream entries are composed of one or multiple field-value pairs
  • Geospatial indexes - store named points in their associated latitude and longitude coordinates

Redis Data Types