Redis
Redis is a high-performance, open-source, in-memory data structure store that serves as a versatile foundation for caching, session storage, real-time analytics, and message brokering. Known for its exceptional speed and flexibility, Redis supports a rich set of data types including strings, hashes, lists, sets, and sorted sets, making it ideal for a wide variety of use cases beyond traditional key-value caching.
As an in-memory database, Redis delivers microsecond latency and can handle millions of requests per second, making it perfect for applications that require ultra-fast data access. Its atomic operations, pub/sub messaging capabilities, and built-in persistence options provide the reliability and functionality needed for mission-critical applications.
Through Viduli's Flash Cache Service, Redis becomes even more powerful with enterprise-grade managed features including instant provisioning, high availability configurations, and seamless scaling. Whether you're implementing session storage, real-time leaderboards, caching layers, or message queues, Redis on Flash provides the performance, reliability, and operational simplicity your applications demand without the complexity of self-managed cache infrastructure.
Launching a New Redis Cache Cluster
Creating a new Redis cache cluster is a streamlined process that provides you with a production-ready cache environment within minutes. To launch a new cluster:
- Navigate to your project overview page
- Click the
New Resource
button in the sidebar - Select
Flash
from the resource creation dialog - Choose
Redis
as your cache engine - Configure your cluster settings including compute resources, replication mode, and node count (detailed configuration options available in our configuration guide)
- Review the cost estimates and click
Confirm
to create your cluster
Provisioning Process: Your Redis cache cluster will automatically begin provisioning with the specified configuration. This process typically takes a minute as Flash sets up the cache instances, configures networking, and initializes the Redis cluster. Once provisioning completes, your cluster will be ready to accept connections and handle cache operations.
Cost Transparency: The resource creation dialog displays the estimated monthly cost based on your configuration choices, helping you understand the financial impact before deployment.
Always Running: Unlike database clusters, Redis cache clusters do not support start/stop operations. Once launched, clusters remain continuously running to ensure optimal cache performance and data availability.
Deleting a Redis Cache Cluster
Permanent deletion removes your Redis cache cluster and all cached data from Viduli. This action is irreversible and should only be performed when you're certain the cache is no longer needed.
To delete your cluster:
- Select your cluster from the project overview
- Verify the right sidebar displays your cluster details
- Click the delete (red bin) icon in the top-right corner
- In the confirmation dialog, type the exact resource name to confirm deletion
- Click
Confirm
to proceed with deletion
Deletion Process: Once confirmed, your cluster enters the deleting
state where no further actions can be performed. The complete removal process typically takes several minutes as all cache instances and associated resources are permanently destroyed.
Irreversible Action: Once a cluster enters the deleting
state, the process cannot be stopped or reversed. All cached data and configurations will be permanently destroyed. Ensure you have backed up any critical data before proceeding with deletion.
Alternative Access: Cluster controls can also be accessed from the resource details view for additional management options and monitoring capabilities.
Configuring a Redis Cache Cluster
To configure your Redis cache cluster settings, access the detailed configuration options through the cluster details view. This interface provides comprehensive control over your cluster's compute resources, replication settings, and operational parameters.
To access cluster configuration:
- Select your Redis cache cluster from the project overview
- Open the cluster details view by double-clicking the cluster or using the sidebar options
- Navigate to the Configuration tab within the details interface
Cluster Details View
The cluster details view can be accessed by following the instructions on the resources page.
Redis cache cluster details views include all the standard tabs discussed in the resources page.
Monitoring
Logs
See resource logs
Shell
Shell sessions for Redis clusters open directly into the redis-cli
interface; you cannot access a general-purpose shell outside of the Redis client.
Actions
See resource actions section for commonly supported actions.
Limited Actions: Redis cache clusters do not support start/stop operations as they are designed to run continuously for optimal cache performance.
Environment
See resource environment for common environment behaviours.
Redis cache clusters automatically export a set of environment variables containing connection and configuration details to the project environment. These exported variables are made available to all resources within the same project.
After deploying a cluster, you must redeploy any dependent resources for the exported environment variables to take effect.
Configuration
The cache cluster can be reconfigured while it is running. Most configuration changes are applied with minimal impact; however, some changes may require cluster recreation.
For a primer on resource configuration, see the resource configuration page.
A comprehensive list of configuration options is available in the main article.
Costs
See resource costs