Trusted answers to developer questions

What is Redis?

Free System Design Interview Course

Many candidates are rejected or down-leveled due to poor performance in their System Design Interview. Stand out in System Design Interviews and get hired in 2024 with this popular free course.

According to Redis’s official website, Redis is an open-source, NoSQL, in-memory data structure store that is used as a database, cache, and message broker. Simply put, it uses data structures like strings, hashes, lists, sets, bitmaps, hyperloglogs, and geospatial indexes to store data in the form of key-value pairs.

Major features

  • High performance

    It can handle more than 120,000 requests per second.

  • Easy to use

    It is simple to use. Data can be stored with a simple SET command and can be retrieved using a GET command.

  • High availability

    It supports non-blocking master/slave replication to guarantee high availability of data.

  • Language support

    Popular languages like Python and JavaScript have support for Redis.

Important use case

Redis can be used in conjunction with another database. The results of frequent requests are cashed in Redis, ​and all subsequent requests for the cached data can be served from the cache – this will save you from frequent requests to the database.

Some notable users

Redis is used by famous companies like:

  • Snapchat

  • Twitter

  • Weibo

  • GitHub

RELATED TAGS

nosql
database
redis
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?