• Resolved Keith

    (@keithkhl)


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    This is great to hear.

    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.

    You can’t easily do that, you’d need to use Redis Replication or Cluster.

    You’ll have to move Redis to your DB server, if you add a 2nd WP server. If you can scale vertically, always do that before going horizontal because it is a lot more complex.

    Relay support Redis Sentinel and Cluster, but Redis Object Cache doesn’t support any of those options, you’d need to use Object Cache Pro.

Viewing 1 replies (of 1 total)
  • The topic ‘Relay – benefited further if to run remotely?’ is closed to new replies.