Redis is an in-memory data structure store that can be used as a database, cache, and message broker.
Questions tagged [redis]
19 questions
11
votes
1 answer
Provisioning times for Redis in cloud taking too long, how can we shorten it?
Provisioning a 1 GB Redis cache service on AWS takes around 8 minutes. Doing the same on Azure takes around 16 minutes. Ours Terraform scripts need the call back from the Redis systems. Why is this taking so long and how can we make this process…
Rıfat Erdem Sahin
- 207
- 3
- 10
7
votes
2 answers
How to add shards to a Redis cluster managed by Terraform without loosing all state?
I have set up a Redis cluster with Terraform. The setup looks like this:
resource "aws_elasticache_replication_group" "instance" {
replication_group_id = "test"
node_type = "cache.t2.micro"
port =…
Philipp Claßen
- 1,675
- 3
- 18
- 30
6
votes
2 answers
if the bottle neck is the number of connections, is it better to scale redis by sharding or by replication?
Background
last week we had a major outage, we identified the bottle neck to be redis number of connections:
Our quick fix was to scale redis from cache.m4.4xlarge to chache.m4.10xlarge (vertical scaling)
However this scaling is quite…
abbood
- 473
- 4
- 13
6
votes
1 answer
Can I use Bitnami Helm Chart to deploy Redis Stack?
Background
Currently, I am deploying a redis container using the [redislabs/redismod] (https://hub.docker.com/r/redislabs/redismod) image in the same pod as the application (nodejs). We are utilizing the RediSearch and RedisJSON modules to access…
virenstack
- 61
- 2
2
votes
3 answers
Cross region replication of Redis Docker container data
I am looking for some help with figuring out a way to take a Redis Docker image and then do near real time replication of the data to another server maybe over an SSH tunnnel.
I need this to be able to go onto a Ubuntu 16.04 LTS VM/docker host,…
user8517
2
votes
0 answers
Can not find save handler 'redis' - session startup failed - for PHP
I am getting this error while loading index.php file.
Warning: session_start(): Cannot find save handler 'redis' - session startup failed in /var/www/html/index.php on line 2
My index.php code looks like…
Gaurav Bhaskar
- 121
- 4
2
votes
1 answer
Best Way to Call a Service Running in a Docker Container from another Docker Container in the Same EC2 Instance?
Context
I hope the following diagram makes it clear, ask if you still need any answer.
Basically, the cronjob itself (a container) will run every hour, that needs to use a long running redis service. (The redis service acts as an interface to some…
Della
- 133
- 4
1
vote
0 answers
Kubernetes Redis Cluster with persistent node and local storage
I have a requirement to set up a Redis cluster on Kubernetes, and I'm not sure which kinds of Kubernetes specification are best for my use case. I have some very specific requirements that don't necessarily neatly fit the patterns as I understand…
Adam
- 11
- 1
1
vote
1 answer
Deploy a Redis cluster with Docker
I need to create a Redis cluster using Docker (with Kubernetes afterwards) and didn't find any official documentation on that matter. Could I have guidance on that subject ?
I have the below yaml content but I am not sure if it follows the best…
Jérémy Ferfer
- 11
- 2
1
vote
1 answer
AWS ElastiCache Redis DNS error - Name or service not known
The Problem & The Question
I'm trying to create an AWS ElastiCache Redis-flavored cluster and connect to it from an instance in the same VPC. When I create the cluster initially, I can connect to it just fine via redis-cli. If I wait a day or two…
Zachary Delano
- 116
- 3
- 11
0
votes
0 answers
Persistent PostgreSQL and Redis Authentication Failure with External PG16/Redis7 & GitLab Helm Chart 9.0.0
I am attempting to deploy GitLab CE (version 18.0, via Helm chart) on a K3s cluster on a single Hetzner Cloud node. As we are low on resources, I am deploying a basically nude GitLab. Ingress will be done by traefik, postgresql, object storage, and…
0
votes
0 answers
I can't use redis in laravel production
I'm using Laravel 11 and simply can't use my Amazon ElastiCache server in production. I've talked to GPT for hours, and it always suggests checking the machine's memory, often saying that Redis might be deleting new keys due to memory issues, but…
João Sena
- 1
- 1
0
votes
1 answer
Redis chart deployed with DaemonSet - how do I connect to the "local" pod running on same node?
I've installed the Bitnami\Redis helm chart on a cluster with the value of master.kind = DaemonSet. Now I have a redis pod for each node. like this
NODE A - REDIS-POD-A
NODE B - REDIS-POD-B
NODE C - REDIS-POD-C
The chart installed three…
yuvi
- 101
- 1
0
votes
0 answers
Can Redis Sentinel be used in AKS Kubernetescluster without persistent Volumes?
I have a AKS Cluster and want to deploy Redis with Sentinel, one Master, two Replicas in my Infrastructure Nodepool with three Nodes, one Pod on each (currently doing that via NodeSelector).
I deploy Redis from the Bitnami Helm Chart with a custom…
Noctran
- 1
- 1
0
votes
1 answer
How to connect my host to Redis cluster network on docker-compose
I'm running this docker-compose.yaml on my machine (Mac with docker desktop) but am not able to connect the cluster with redis-cli.
I'm running it with
docker-compose up --build
I'm able to run redis-cli from within the containers like
❯ docker…
itamar
- 101
- 1
- 2