Relay – benefited further if to run remotely?
-
I have switched my Redis client from PHP-Redis to Relay, and the metrics have changed tremendously. It used to be around 40~60ms. Now I have 10~20ms. I also turned on Igbinary together, so not sure if it is due to Relay or Igbinary (or combined), but this experience is almost unbelievable.
What’s next is whether to run Redis on DB server. Currently I have a load balancer w/ Varnish, a single WP server, and a DB server. Redis has been running on WP server, together with PHP. I am planning to add another WP server, and move Redis to DB server. I was also thinking about running Redis on all three servers (two WP servers and one DB server), which may help Redis to work faster.
While searching for information for Relay, I came across an article that Relay can be even faster if it is running separately from WP server, but it is limited to scale out.
Not sure if the saying for Relay is true, but from ROC’s github, I can find scale out options only for PHP-Redis. Just want to double check Relay’s scalability before taking any further actions.
- The topic ‘Relay – benefited further if to run remotely?’ is closed to new replies.