gozen
Hi Gozen, as regards security, I can confirm that having Redis installed on a server specifically dedicated only for Redis does not cause any type of problem (many do it easily) as long as the server hosting it is appropriately configured with all the necessary security practices (and this rule applies in general to anything you intend to host on a server) and on Google there are many very interesting guides about it.
xyzulu
Hi xyzulu, yes, it is true that unfortunately there are many people who don't know what they are doing but fortunately there are always just as many who know what they are doing. Having said that, I don't agree with you regarding the performance degradation if you decide to host Redis on a server dedicated only to Redis and let me explain better:
I personally have always used and still use Redis on a server specifically dedicated only to Redis and I have no degradation in terms of delay and/or latency simply because to avoid this type of problem I host all my services on servers each dedicated to a specific task.
Therefore 1 Server Dedicated to the Web Servers (OpenLiteSpeed) + 1 Server Dedicated to the Databases (MariaDB) + 1 Server Dedicated to the Cache (Redis) + 2 Servers Dedicated to the DNS + 1 Server Dedicated to the Backups + 1 Server Dedicated to the Email Service etc., etc. and obviously I host them all in the same Data Center and all within the same network (indeed to be precise, I host them in the same room of the same Data Center on the same network) and this allows me not to degrade performance in any way in terms of delay and/or latency with the advantage of being able to scale very quickly at the hardware level based on the specific needs of the services on the specific Dedicated Servers that require more resources and this with the Enhance Control Panel, today, is even easier to achieve, thus having the advantage of a scalability much closer to the vertical one than the horizontal one to which we have unfortunately been accustomed for decades with all the problems that derive from it.
Then, as you say, if you find a person who doesn't know what they are doing (and unfortunately there are many around) and hosts the Server Dedicated to the Web Server (NGINX) in China, the Server dedicated to the Databases ( MySQL) in Spain and the Dedicated Cache Server (Redis) in Mexico etc., etc., then the services degrade due to latency times.
So as you can see, anything can be done, you simply need to know how to do it and always know what you are doing.