---
title: "Deploy Redis : 1$"
description: "n8n-Optimized Redis Database"
category: "Queues"
url: https://railway.com/deploy/JkJ8MG
---

# Deploy Redis : 1$

n8n-Optimized Redis Database

**[Deploy Redis : 1$ on Railway](https://railway.com/template/JkJ8MG)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/JkJ8MG/manifest.json

- **Creator:** Antisofisme's Projects
- **Category:** Queues

## Template content

### redis-workflow https://cdn4.iconfinder.com/data/icons/redis-2/1451/Untitled-2-512.png

- **Source:** https://github.com/antisofisme/railway

## Documentation

# n8n-Optimized Redis Database

## What You Get
This template provides a Redis in-memory database service optimized for use within n8n workflows as a data storage, caching, and message broker solution.

### Components:
- **Redis**: High-performance in-memory database with n8n node integration

## Key Features
- ✅ **n8n Node Integration**: Ready for Redis node operations in your workflows
- ✅ **Data Persistence**: Store workflow data between executions
- ✅ **Caching Layer**: Improve performance by caching API responses
- ✅ **Pub/Sub Messaging**: Build event-driven workflows with message subscriptions
- ✅ **Atomic Operations**: Reliable counters and distributed locks for workflows
- ✅ **Fast Storage**: Sub-millisecond data access for time-sensitive operations
- ✅ **IPv6 Ready**: Full IPv6 support for Railway's network infrastructure

## Usage In n8n Workflows
1. **Add Redis Node**: Use the Redis node in your n8n workflows
2. **Configure Connection**: Enter the connection details shown below
3. **Choose Operations**: Use SET, GET, HSET, PUBLISH, SUBSCRIBE, and other Redis commands

## Redis Node Configuration
When adding a Redis node in your n8n workflow, use these credentials:
- **Host**: `${{redis.REDIS_HOST}}`
- **Port**: `${{redis.REDIS_PORT}}` (typically 6379)
- **Username**: `${{redis.REDIS_USERNAME}}` (typically "default")
- **Password**: `${{redis.REDIS_PASSWORD}}`
- **Database**: 0
- **Use TLS/SSL**: No (unless specifically configured)

## Common Workflow Use Cases
- **API Rate Limiting**: Store API call counts and timestamps
- **Cross-Workflow Data Sharing**: Share data between different workflows
- **Caching**: Store expensive API responses for reuse
- **Job Queues**: Create custom queuing systems with RPUSH/LPOP
- **Counters**: Track metrics with atomic increment operations
- **Session Storage**: Maintain web session state across workflow runs
- **Feature Flags**: Store flags to control workflow behavior

## Technical Specifications
- Redis 7.x with optimized configuration
- Persistent storage for reliable data retention
- Memory policies tuned for workflow data patterns
- High availability for mission-critical workflows
- Maximum compatibility with n8n Redis nodes

Support me if you think this is good, one dollar is also very valuable to me, I'm really broke man. https://linktr.ee/givemesomehope

## Similar templates

- [Celery | Web, Worker and Scheduler as Three Services](https://railway.com/deploy/celery-or-web-work-1) — Web, worker and scheduler wired up: Celery on Redis, outcomes in Postgres.
- [Redpanda](https://railway.com/deploy/redpanda-1) — Redpanda 26.2: Kafka-compatible streaming, single node, with Kafbat UI.
- [smoothmq](https://railway.com/deploy/AJv-64) — A drop-in replacement for AWS SQS

Open this page in a browser: https://railway.com/deploy/JkJ8MG
