Valkey: Configuring Valkey with Resque

This documentation is part of the Using with Ruby guide. You can view the complete guide here: How to connect Valkey with Ruby.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Valkey 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 Valkey cloud hosting solution!

To use Valkey with Resque, set the environment variable REDIS_URL as follows, replacing <yourPassword> and <XXXXXX> with your credentials:

REDIS_URL="rediss://default:<yourPassword>@<XXXXXX>.stackhero-network.com:<PORT_TLS>"

Resque will automatically use the Valkey server specified in the REDIS_URL environment variable.

For more information about using Resque with Valkey, you can refer to the Resque documentation here.