28 questions for “Sets & Sorted Sets in Redis”

Found in 1 field. Select a question to see its full answer.

Information Technology

28 questions in 1 technology

#QuestionTechnologyTopicLevel
1What internal memory encoding does Redis use for small sets and sorted sets, and how does this affect performance and memory usage as they grow? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisAdvanced
2How would you use sorted sets to implement a simple tag based content recommendation system, finding content similar to a given item? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisAdvanced
3How do you find the intersection, union, and difference between two or more Redis sets? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisIntermediate
4How do sorted sets differ from regular sets, and what additional capability does the associated score provide? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisIntermediate
5What is a Redis set, and what guarantee does it provide about the items you store in it? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisBeginner
6How do you check if a specific item exists in a Redis set, and how do you remove an item from it? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisBeginner
7How do you retrieve a random member, or several random members, from a Redis set without removing them? Redis › Sets & Sorted Sets in RedisRedisSets & Sorted Sets in RedisIntermediate
8Why are Redis sorted sets a natural fit for building a leaderboard feature? Redis › Leaderboards with Sorted SetsRedisLeaderboards with Sorted SetsBeginner
9What is the sliding window log algorithm for rate limiting, and how can it be implemented using a Redis sorted set? Redis › Rate Limiting with RedisRedisRate Limiting with RedisIntermediate
10How do you retrieve the top ten highest scoring players from a Redis leaderboard? Redis › Leaderboards with Sorted SetsRedisLeaderboards with Sorted SetsBeginner