Answer the question
In order to leave comments, you need to log in
Is it possible to have 2 Redis servers on the same host?
There was a need for two radish servers on the same machine. Ports, pid and config they had different. At first everything was ok, until 90% of the RAM was occupied and both servers began to see part of each other's memory.
I would like to know from knowledgeable people, my idea is initially vicious or could it still be implemented?
UPD: it turns out that both servers wrote to one RDB file.
Answer the question
In order to leave comments, you need to log in
> both servers began to see part of each other's memory
This does not happen.
If you're writing a lot in Redis and memory is running low, then obviously you need to either write more memory or write less.
Obviously, if there are two Redis on the machine, then they will eat up memory faster than one.
Inside Redis, you can create different databases, why keep two different ones on the same machine is not clear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question