Redis®*: Why we chose Redis

This documentation is part of the Rank users in real time guide. View the full guide here: Learn how to rank 2 million users per score in real time using Redis.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Redis cloud solution that provides a host of benefits, including:

  • Redis Commander web UI included.
  • Unlimited message size and transfers.
  • Effortless updates with just a click.
  • Optimal performance and robust security powered by a private and dedicated VM.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Redis cloud hosting solution!

Traditional databases such as MySQL, PostgreSQL, or Elasticsearch are not designed for low-latency ranking tasks. This prompted us to explore another option.

We selected Redis, an in-memory database that is extremely fast and reliable. According to DB-Engines, it is the 7th most used database in the world and the leading option in the "Key-value store" category.

Redis offers multiple data models. For this scenario, one stands out: the "sorted sets".