Redis
Redis is an open-source, in-memory data structure store that can be used as a database, cache, message broker, and queue. It supports various data structures and offers high performance.
Deployment Steps
From the dashboard, click "Create New" and select "Redis"
Configure your database:
Name: Enter a unique identifier for your Redis instance
Description: Add a description to help identify the instance purpose
Version: Select your preferred Redis version
Username/Password: Set credentials for access (if using Redis 6.0+)
Visibility: Choose between public or private access
Backup: Enable/disable automated backups
Instance Types
Choose the instance type that best fits your workload:
Free Tier
Perfect for development and testing
Limited resources but no cost
Run 1 instance for free
Standard
Balanced resources for general use
Recommended for production workloads
C1/C2 Compute
Optimized for compute-intensive workloads
Ideal for heavy data processing
M1/M2 Memory
Optimized for memory-intensive workloads
Perfect for large datasets and caching
Features
Data Structures
Strings
Lists
Sets
Sorted sets
Hashes
Streams
Geospatial indexes
Bitmaps
HyperLogLog
Functionality
Pub/Sub messaging
Lua scripting
Transactions
Key expiration
LRU eviction
Persistence options
Monitoring
Monitor your Redis instance through:
Logs Tab
Real-time log streaming
Search functionality
Error highlighting
Timestamp-based filtering
Metrics
Memory usage
Connected clients
Operations per second
Hit/miss ratio
Evicted keys
Network bandwidth
Backup Management
Manage your Redis instance backups:
Automated Backups
Enable/disable automated backups
Set backup window
Configure retention period
RDB snapshots
AOF persistence
Backup Tab
View backup history
Initiate manual backups
Restore from backup
Download backup files
Connection Information
After deployment, you'll receive:
Connection URL
Authentication credentials
Port information
SSL/TLS certificates (if applicable)
Example connection string:
Best Practices
Security
Use private visibility when possible
Implement strong passwords
Regularly rotate credentials
Limit network access
Enable SSL/TLS
Performance
Monitor memory usage
Use appropriate data structures
Implement key expiration
Configure eviction policies
Optimize persistence settings
Memory Management
Set maxmemory limit
Choose appropriate eviction policy
Monitor used memory
Handle large keys carefully
Use memory analysis tools
Use Cases
Caching
Session storage
Page caching
API response caching
Database query results
Real-time Features
Leaderboards
Real-time analytics
Message queues
Rate limiting
Session management
Troubleshooting
Common issues and solutions:
Connection Issues
Verify network access
Check credentials
Confirm port accessibility
Validate SSL/TLS settings
Memory Problems
Monitor memory usage
Review eviction policies
Check large keys
Analyze memory fragmentation
Verify maxmemory settings
Performance Issues
Monitor command latency
Check slow operations
Review network bandwidth
Analyze client connections
Verify persistence settings
Last updated