Redis – Sorted Sets Redis Sorted Sets are similar to Redis Sets with the unique feature of values stored in a set. The difference is, every member of a Sorted Set is associated with a score, that is used in order to take the sorted set ordered, from the smallest to the greatest score. In […]
Author Archives: user
Redis – Hashes Redis Hashes are maps between the string fields and the string values. Hence, they are the perfect data type to represent objects. In Redis, every hash can store up to more than 4 billion field-value pairs. Example redis 127.0.0.1:6379> HMSET tutorialspoint name “redis tutorial” description “redis basic commands for caching” likes 20 […]
Redis – Configuration In Redis, there is a configuration file (redis.conf) available at the root directory of Redis. Although you can get and set all Redis configurations by Redis CONFIG command. Syntax Following is the basic syntax of Redis CONFIG command. redis 127.0.0.1:6379> CONFIG GET CONFIG_SETTING_NAME Example redis 127.0.0.1:6379> CONFIG GET loglevel 1) “loglevel” 2) […]