Chita Cloud Logo

Redis Cache

High-performance Redis included in all paid plans

Overview

Redis is a high-performance in-memory data store perfect for caching, sessions, and real-time applications. Included free in all paid Chita Cloud plans.

Availability

PlanRedis IncludedValue
FreeNot available-
Freelancer Starter256MB€15-25/month value
Freelancer Professional256MB€15-25/month value
Team Agency512MB€25-35/month value

Redis is automatically provisioned and ready to use - no extra cost.

Features

  • Blazing Fast: Sub-millisecond latency
  • Persistent: Optional data persistence
  • Pub/Sub: Real-time messaging
  • Atomic Operations: Race condition free
  • Auto-configured: Connection string provided in dashboard

Configuration

Access your Redis instance from the dashboard:

  1. Navigate to your service
  2. Go to "Environment" tab
  3. Copy the auto-generated REDIS_URL

Connection string format:

REDIS_URL=redis://your-instance.chitacloud.dev:6379
REDIS_PASSWORD=your-secure-password

Learn how to manage environment variables securely in your application.

Usage Example

import Redis from 'ioredis';
 
const redis = new Redis(process.env.REDIS_URL);
 
// Set and get values
await redis.set('user:123', JSON.stringify({ name: 'John' }));
const user = JSON.parse(await redis.get('user:123'));

Best Practices

  • Use connection pooling
  • Implement proper error handling
  • Set appropriate TTL values
  • Monitor memory usage

Next Steps