Redis is an open source, highly-scalable key-value store, commonly referred to as a "NoSQL database."
Questions tagged [redis]
441 questions
3
votes
2 answers
Static master in Redis replication
I'm running replicated Redis that includes a master and just one slave. My goal is to implement a replication (using Redis sentinels) in which the slave becomes master when the master goes down, but additionally the old master is promoted back when…

empe
- 33
- 2
3
votes
1 answer
Nginx for Windows or Linux - which is recommended for a Redis cluster and what is the recommended configuration?
We are currently exploring Nginx as a reverse proxy server and have done some preliminary tests with the Windows version.
Since the stable product has been available for Linux, I would like to know if anyone has used the Windows version in…

ElHaix
- 269
- 3
- 13
3
votes
1 answer
Migrating to AWS Cloud with auto-scaling - where to put Redis and ElasticSearch?
I've been trying to research this topic but haven't found anywhere that recommends where to install services such as Redis and ElasticSearch when migrating to a cloud framework.
I'm currently running a Symfony2 application on 2 static servers - one…

RobMasters
- 85
- 6
3
votes
1 answer
How do I configure redis to allow me to connect through a SOCKS proxy?
I've got a redis server running on my remote machine. It's currently set only to bind 127.0.0.1.
I can ssh into the machine with ssh -D 9999 mydomainwhatever.net to open a SOCKS proxy and then configure my Operating systems's network preferences to…

Nathan
- 258
- 2
- 4
- 10
3
votes
2 answers
What happens to redis when your server runs out of free RAM?
Let's say you're hosting redis on a small server with little RAM.
What happens if there's too much data, and all the RAM gets used up?
Does redis die? Or does it continue operating?

Alex
- 8,471
- 26
- 75
- 99
3
votes
2 answers
Redis cannot bind a specific ip address?
I'm new to redis, but I want to set one up on my Raspberry Pi 4 (RP) for using it in a Django application (with celery).
On my RP I have installed a firewall, ufw, and allowed incomming traffic from my PC's IP on port 6379 (redis port).
I have then…

CutePoison
- 131
- 1
- 3
3
votes
1 answer
How to monitor the disk space usage of an AWS elasticache redis cluster?
This is the reason behind this question: I am using a redis cluster on AWS Elasticcache as a datastore. I do not enable eviction because I need to keep the data alive inside the redis cluster for as long as the users are actively using them.
It is a…

Anthony Kong
- 3,288
- 11
- 57
- 96
3
votes
1 answer
How can I modify an auth_token of a redis cluster if the redis engine version is below 5.0.5?
I am running a redis cluster on AWS with engine version 5.0.3.
So when I tried to use this aws command to modify the auth_token
aws elasticache modify-replication-group \
--replication-group-id authtestgroup \
--auth-token This-is-the-set-token\…

Anthony Kong
- 3,288
- 11
- 57
- 96
2
votes
2 answers
Laravel View Cache location
Sorry if this seems trivial, but I need to be sure:
Where does Laravel 6 store the view cache? On the cache server or in the storage folder?
Does it get stored in my redis if I set it as the cache server?
user555609
2
votes
2 answers
Where is the Redis module for PHP on CentOS 8 (php-pecl-redis)?
I can't find the package php-pecl-redis on CentOS 8 with EPEL repository enabled. Apparently EPEL no longer provides it.
I've only found it on REMI repository, but I would have to replace my entire PHP setup for the one provided by REMI, which I'm…

Rodrigo Renie
- 137
- 2
- 7
2
votes
1 answer
What is the typical way of setting up the Redis server in a production environment?
Assuming I have my application set up such that I have a NodeJS server running on some remote machine, and I have my database running on another remote machine. Assuming that I want to set up a Redis server for caching, wouldn't hosting the Redis…

Ryn
- 123
- 3
2
votes
0 answers
HAProxy - Run all checks before accepting connections?
I'm using haproxy to provide access to a redis cluster. But i'm experiencing issues when haproxy is starting since all servers are initially up, before the first checks can be run.
Is there a way to force haproxy to run the initial checks before…

FernandoMM
- 21
- 1
2
votes
1 answer
redis fails to write the dump in /var/lib/redis in sellinux eforce mode
In my sentinel master-slave mode; redis slave fails to write the dumps in /var/lib/redis/ with error:
Failed opening the RDB file dump.rdb (in server root dir /var/lib/redis) for saving: Permission denied
while the permissions is indeed correct:
#…

h.safe
- 131
- 1
- 7
2
votes
1 answer
How can I scale a mysql database with high I/O used for queue jobs with 300 workers?
I'm currently using angular on the frontend for a dashboard that displays the progress of queue workers. On the backend, I use 50 AWS EC2 instances that each have around 6 workers and those are managed by supervisord. Those workers take the next job…

Mike
- 23
- 2
2
votes
1 answer
Webserver error 503 Troubleshooting
I have a nice VPS with 4 cores, 180ssd, 8gb of ram.
My website is a custom website, that autogenerates from a database, and on the first run it is cached in memory using redis.
The issue that I am having is that sometimes, specially after I flush…

peterpeterson
- 133
- 5