Redis In-memory Data Store Competency (Intermediate Level)

  • 15m
  • 15 questions
The Redis In-memory Data Store Competency (Intermediate Level) benchmark calibrates your knowledge of implementing Pub/Sub in Redis and applying streams for recording data and getting consumer processes to process messages. You will be evaluated on your ability to apply optimization and synchronization mechanisms from Redis clients and execute crucial administrative tasks for a Redis server. Learners who score high on this benchmark demonstrate that they have the skills to implement messaging and streaming in Redis, work with Redis clients, and administer a Redis server.

Topics covered

  • adopt pipelines in a Python app to send batches of Redis commands to a Redis server
  • apply the broadcast mode for client tracking in order to reduce memory use at the Redis server
  • apply the least-recently-used cache replacement policy for a Redis server
  • contrast messages that have been sent with those that are pending in the context of Redis consumer groups
  • coordinate messaging between a collection of Redis clients by setting up a consumer group
  • establish a master-slave relationship between a Redis server and its replica
  • illustrate how permissions can be applied to users using ACL categories
  • illustrate the steps involved in defining and executing transactions in Redis
  • optimize mass insert operations in Redis by using the pipe mode feature of the Redis CLI
  • publish and subscribe to Pub/Sub channels using the Redis CLI
  • retrieve data from a Redis stream using the XREAD command
  • set up a duplicate copy of a Redis server as a precursor to creating a replica
  • set up a subscription to multiple Pub/Sub channels that match a pattern
  • use Pub/Sub in a Python app to subscribe to a messaging channel and retrieve messages
  • use the built-in lock available in the python-redis-lock package to ensure thread-safe access to a shared Redis resource