Support » Plugin: Redis Object Cache » PhpRedis 5.0.0 compatibility

  • Resolved HansVanEijsden

    (@hansvaneijsden)


    Today PhpRedis 5.0.0 went public. My question: is this plugin compatible with PhpRedis 5.0.0 so I can update my PHP instances?

    The changelog:

    This release contains important improvements and breaking changes.
    The most interesting are: drop PHP5 support, RedisCluster slots caching,
    JSON and msgpack serializers, soft deprecation of non-Redis commands.

    phpredis 5.0.0

    * Remove HAVE_SPL [55c5586c] (@petk)
    * Update Fedora installation instructions [90aa067c] (@remicollet)

    phpredis 5.0.0RC2

    * Allow compilation without JSON serialization enabled and fixes for deprecated
    helper methods. [235a27] (Pavlo Yatsukhnenko)
    * Fix php msgpack >= 2.0.3 version requirement. [6973478..a537df8] (Michael Grunder)

    phpredis 5.0.0RC1

    * Enable connection pooling by default [8206b147] (Pavlo Yatsukhnenko)
    * Soft deprecate methods that aren’t actually Redis commands [a81b4f2d, 95c8aab9] (Pavlo Yatsukhnenko, Michael Grunder)
    * Enable pooling for cluster slave nodes [17600dd1] (Michael Grunder)
    * xInfo response format [4852a510, ac9dca0a] (Pavlo Yatsukhnenko)
    * Make the XREADGROUP optional COUNT and BLOCK arguments nullable [0c17bd27] (Michael Grunder)
    * Allow PING to take an optional argument [6e494170] (Michael Grunder)
    * Allow ZRANGE to be called either with true or ['withscores' => true] [19f3efcf] (Michael Grunder)
    * Allow to specify server address as schema://host [418428fa] (Pavlo Yatsukhnenko)
    * Allow persistent_id to be passed as NULL with strict_types enabled [60223762] (Michael Grunder)
    * Add server address to exception message [e8fb49be, 34d6403d] (Pavlo Yatsukhnenko)
    * Adds OPT_REPLY_LITERAL for rawCommand and EVAL [5cb30fb2] (Michael Grunder)
    * JSON serializer [98bd2886, 96c57139] (Pavlo Yatsukhnenko, Michael Grunder)
    * Add support for STREAM to the type command [d7450b2f, 068ce978, 8a45d18c] (Michael Grunder, Pavlo Yatsukhnenko)
    * Fix TypeError when using built-in constants in setOption [4c7643ee] (@JoyceBabu)
    * Handle references in MGET [60d8b679] (Michael Grunder)
    * msgpack serializer [d5b8f833, 545250f3, 52bae8ab] (@bgort, Pavlo Yatsukhnenko, Michael Grunder)
    * Add Cluster slots caching [9f0d7bc0, ea081e05] (Michael Grunder)
    * Drop PHP5 support [f9928642, 46a50c12, 4601887d, 6ebb36ce, fdbe9d29] (Michael Grunder)
    * Documentation improvements (@alexander-schranz, @cookieguru, Pavlo Yatsukhnenko, Michael Grunder)

    Thanks!

    The page I need help with: [log in to see the link]

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

    (@tillkruess)

    It should be fine, but I haven’t tested it.

    Let me know how it goes!

    Thanks for your reply!
    I will test it next Thursday as soon as PHP 7.3.7 comes out then. I’ll let you know here!

    I can confirm: PhpRedis 5.0.0 works great. I tested it today with PHP 7.3.6 (7.3.7 is already available on the PHP mirrors but it gave me segfaults, for the first time..). I didn’t encounter any problems and the performance is good.

    Status: Connected
    Client: PhpRedis (v5.0.0)
    Drop-in: Valid
    Ping: 1
    Redis Extension: 5.0.0
    Predis Client: 1.1.1
    PHP Version: 7.3.6
    Multisite: No
    Global Prefix: “example_”
    Blog Prefix: “example_”
    WP_REDIS_SCHEME: “unix”
    WP_REDIS_PATH: “\/var\/run\/redis.sock”
    WP_REDIS_IGBINARY: true
    WP_REDIS_MAXTTL: “86400”
    WP_CACHE_KEY_SALT: “oc.example.com:”
    Global Groups: {
    “0”: “blog-details”,
    “1”: “blog-id-cache”,
    “2”: “blog-lookup”,
    “3”: “global-posts”,
    “4”: “networks”,
    “5”: “rss”,
    “6”: “sites”,
    “7”: “site-details”,
    “8”: “site-lookup”,
    “9”: “site-options”,
    “10”: “site-transient”,
    “11”: “users”,
    “12”: “useremail”,
    “13”: “userlogins”,
    “14”: “usermeta”,
    “15”: “user_meta”,
    “16”: “userslugs”,
    “33”: “blog_meta”
    }
    Ignored Groups: [
    “counts”,
    “plugins”
    ]
    Dropins:
    – Redis Object Cache Drop-In v1.4.3 by Till Krüss

    Does this support the new json serializer, i used for some of my sites like a forum and its blazing fast.

    Plugin Author Till Krüss

    (@tillkruess)

    @hansvaneijsden: Thanks for the report!

    Plugin Author Till Krüss

    (@tillkruess)

    @umeriku: Link?

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