• Resolved bibliata

    (@bibliata)


    Which configuration is most optimal for running redis for about 50 WP installs on the same server:

    RelayReplication, Sharding, Redis Sentinel or Redis Cluster?

    Also, noticing 2 sites working great. Adding a 3rd one causes domain mix, admin panel going to the other website, etc. Disappears when redis-php files is deleted. Also running CloudFlare on the DNSs at the same time? //Thanks

    My report:

    Status: Connected Client: Predis (v2.1.2) Drop-in: Valid Disabled: No Ping: PONG Errors: [] PhpRedis: Not loaded Relay: Not loaded Predis: 2.1.2 Credis: Not loaded PHP Version: 8.1.2-1ubuntu2.20 Plugin Version: 2.5.4 Redis Version: 7.4.2 Multisite: No Metrics: Enabled Metrics recorded: 366 Filesystem: Writable Global Prefix: “wp_” Blog Prefix: “wp_” Timeout: 1 Read Timeout: 1 Retry Interval: WP_REDIS_PLUGIN_PATH: “/var/www/wp-content/plugins/redis-cache” Global Groups: [ “blog-details”, “blog-id-cache”, “blog-lookup”, “global-posts”, “networks”, “rss”, “sites”, “site-details”, “site-lookup”, “site-options”, “site-transient”, “users”, “useremail”, “userlogins”, “usermeta”, “user_meta”, “userslugs”, “redis-cache”, “blog_meta”, “image_editor”, “network-queries”, “site-queries”, “theme_files”, “translation_files”, “user-queries” ] Ignored Groups: [ “counts”, “plugins”, “theme_json”, “themes” ] Unflushable Groups: [] Groups Types: { “blog-details”: “global”, “blog-id-cache”: “global”, “blog-lookup”: “global”, “global-posts”: “global”, “networks”: “global”, “rss”: “global”, “sites”: “global”, “site-details”: “global”, “site-lookup”: “global”, “site-options”: “global”, “site-transient”: “global”, “users”: “global”, “useremail”: “global”, “userlogins”: “global”, “usermeta”: “global”, “user_meta”: “global”, “userslugs”: “global”, “redis-cache”: “global”, “blog_meta”: “global”, “image_editor”: “global”, “network-queries”: “global”, “site-queries”: “global”, “theme_files”: “global”, “translation_files”: “global”, “user-queries”: “global”, “counts”: “ignored”, “plugins”: “ignored”, “theme_json”: “ignored”, “themes”: “ignored” } Drop-ins: [ “Redis Object Cache Drop-In v2.5.4 by Till Krüss” ]

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

    (@tillkruess)

    Depends on the traffic. If you don’t have much, then a standalone instance with 50 databases.

    Standalone > Replication > Sentinel.

    Cluster is terrible for multiple sites.

    Thread Starter bibliata

    (@bibliata)

    THANK YOU

    Traffic is good, not overwhelming though some of our _db_ are 1Gb and larger with 30-50K posts in each. Figured out the obvious as well:

    define( ‘WP_REDIS_DATABASE’, 1);

    define( ‘WP_REDIS_DATABASE’, 2);

    define( ‘WP_REDIS_DATABASE’, 3);

    etc., in each config file however:
    WP still claims: Page cache is not detected but the server response time is OK…

    although Redis active and connected,
    Redis Object Cache graph is working showing b/w 2-3ms,
    website loads normally fast.

    What are we doing wrong again?

    Plugin Author Till Krüss

    (@tillkruess)

    page caching is not related to object caching.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.