Slide 12
Slide 12 text
© 2023, Amazon Web Services, Inc. or its affiliates. All rights reserved. @abhi_tweter
Flexible: Redis data structures and APIs
Data type Description Associated commands
String Sequence of bytes APPEND,GET,SET,INCR,DECR,GETSET...
List A list of strings LSET,LLEN,LPUSH,LPOP,LTRIM,RPOP...
Set
Nonrepeating, unordered collection
of strings
SADD,SCARD,SDIFF,SUNION,SINTER,SMEMBERS...
Sorted set
Nonrepeating, ordered collection
of strings
ZADD,ZCARD,ZCOUNT,ZRANK,ZSCORE...
Hash Map of key-value pairs HGET,HGETALL,HKEYS,HVALS,HMSET,HMGET...
Streams Log data structure XADD,XRANGE,XREAD,XACK,XCLAIM,XLEN...
Geospatial Longitude-/latitude-based entries GEOADD,GEODIST,GEOPOS,GEORADIUS...
Bitmaps Special usage of string type GETBIT,BITCOUNT,SETBIT,SETRANGE,GETRANGE...
HyperLogLogs Probabilistic data structure PFADD,PFCOUNT,PFMERGE