In Redis, all data types can use different encodings to save memory or improve performance. For instance, a String that has only digits(for example, 123456) uses less memory that a string of letters(for example, abcde) because they use different encoding. Data types will use different encodings based on thresholds defined in the Redis server configuration.
Jul 01, 2023
This chapter gives an overview of many different Redis commands and features, from techniques to reduce network latency to extending Redis with Lua scripting. Pub/Sub Pub/Sub stands for Publish-Subscribe, which is a pattern where message are not sent directly to specific receivers. Publisher send messages to channels, and subscribers receive these messages if they are listening to a given channel.
Jun 01, 2023
A time series is an ordered sequence of values(data points) made over a time interval. They can be adopted in any domain that needs temporal measurements. Examples of time series are:
May 29, 2023
This chapter introduces the Set, Sorted Set, Bitmap, and HyperLogLog data types. Sets A Set in Redis is an unordered collection of distinct Strings - it is not possible to add repeated elements to a Set. Internally, a Set is implemented as a hash table, which is the reason that some operations are optimized.
May 27, 2023
Redis supports various basic data types. Although you don’t need to use all the data types, it is important to understand how they work so that you can choose the right ones.
May 23, 2023