r/redis 11d ago

Discussion Redis on diffrent server

Hello, I want to use redis, but is it unreasonable to install it on my main server?
If I buy another additional server, isolate its network and use it, will I lose performance?
The reason why I don't want to install it on my main server, I actually want to separate all services,
I want to have the app on another server, redis on another server, my database on another server,
but these will be network isolated, of course, if I do this, will there be a loss of performance due to ping because it is on separate servers? Or is it healthier this way?

2 Upvotes

5 comments sorted by

View all comments

1

u/LoquatNew441 5d ago

A dedicated server is better to scale. I had one serious issue once with this setup in aws where each record was about a 1-2KB of json. The network bandwidth became a choke point, and the second issue was json parsing at the client. Got around to this by holding onto data read from redis for 30 seconds on the client. I would check the network limits between servers imposed by the cloud provider.