# Compatibility with Object Cache Pro (OCP)

**URL:** <https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106>\
**Category:** Dragonfly Technical\
**Created:** [August 10, 2023, 1:16am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106 "2023-08-10T01:16:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [August 10, 2023, 1:16am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/1 "2023-08-10T01:16:04Z")

</div>

We are trialing OCP and wish to know whether it is compatible with dragonfly.  
Our hosting provider has brought our attention to Dragonfly, but they are not sure whether Dragonfly as a drop in for redis, can be used OCP.  
and the Igbinary and ZSTD Compression. Please confirm the position. Many thanks

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [August 10, 2023, 1:39am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/2 "2023-08-10T01:39:27Z")

</div>

PS we are on Cloudlinux solo set up - 2 dedicated server set up main and remote db.

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [August 10, 2023, 9:47pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/3 "2023-08-10T21:47:09Z")

</div>

do you use client side caching?

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [August 10, 2023, 9:48pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/4 "2023-08-10T21:48:08Z")

</div>

do you use Relay as a client or something else?

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [August 10, 2023, 11:21pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/5 "2023-08-10T23:21:43Z")

</div>

At the moment we are just using PhpRedis 5.3.7 and Redis 5.0.3. We are using cloudlinx OS and the PHP prerequisites are not in place to use Relay yet… They will provide the same in the next couple of weeks as an update. In teh mean time we also wanted to test Object Cache Pro with Dragonfly and see which one works best for us also from a pricing point of view. The OCP chap has confirmed that it will work. We just have to know whether it will all work on cloudlinux solo - Server architecture Linux 4.18.0-477.13.1.lve.1.el8.x86\_64 x86\_64

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [August 10, 2023, 11:37pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/6 "2023-08-10T23:37:13Z")

</div>

You will need to build Dragonfly from source (and it should work) to run a native binary or alternatively run containers. To the best of my knowledge, Dragonfly works with kernel 4.18

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [August 21, 2023, 11:59pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/7 "2023-08-21T23:59:10Z")

</div>

hosting and cloudlinux say it won’t work on the 4.18 kernel. So waiting to see when cloudlinux 9 is released so that incomcmpatibility issue will eb resolved - shame I was lloking forwatrd to testing this out

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 15, 2023, 4:36am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/8 "2023-09-15T04:36:43Z")

</div>

Moved to ubuntu 22.04 Pro and finally testing out various combinations in memory caching set up. I have tried object cache pro (OCP) and Relay, and would now like to try dragonflydb with object cache pro. There are certain php extensions and compressions that need to compiled with PhpRedis: (i) igbinary (ii) lz4; (iii) zstd. does dragonfly support this?

I had initially thought that I could also use Relay(as the PHPRedis) Dragonflydb and OCP, but I understand that - Dragonfly does not support Redis RESPv3, and thus Relay will not work with Dragonfly.

Please addres the two points

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 15, 2023, 11:18am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/9 "2023-09-15T11:18:53Z")

</div>

Dragonfly supports resp3 . It does not support client side caching

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 16, 2023, 11:30am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/10 "2023-09-16T11:30:35Z")

</div>

so if Relay is used as PHPredis only, which is a config option, can you see Dragonflydb/cbject cache pro/Relay as php redis being a viable combination. I would like to test this but do not wsh to crash the site

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 16, 2023, 7:08pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/11 "2023-09-16T19:08:56Z")

</div>

How do you run redis? What’s the config/arguments?

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 25, 2023, 11:39pm UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/12 "2023-09-25T23:39:55Z")

</div>

@inclusive-numbat Hi there Roman. I was wondering if you can continue your guidance on my query. Thanks!!

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 26, 2023, 12:45am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/13 "2023-09-26T00:45:09Z")

</div>

We have not tried running Dragonfly with Relay ourselves but we do support all the commands it probably uses. The open question is how redis is configured when it runs with Relay and your answers did not fully covered it.

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 26, 2023, 12:46am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/14 "2023-09-26T00:46:29Z")

</div>

You can fetch them by directly connecting to redis and running “config get \*”

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 26, 2023, 12:54am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/15 "2023-09-26T00:54:25Z")

</div>

this is from the author of Relay. Is this still the case: Last time I checked DragonflyDB does not support CLIENT TRACKING which is part of RESP3 and required to by Relay.

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 26, 2023, 10:48am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/16 "2023-09-26T10:48:45Z")

</div>

yes, this was my first question

---

<div class="post-metadata">

**Author:** ![inclusive-numbat](https://avatars.discourse-cdn.com/v4/letter/i/9f8e36/32.png) [@inclusive-numbat](https://dragonfly.discourse.group/u/inclusive-numbat)\
**Post date:** [September 26, 2023, 10:49am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/17 "2023-09-26T10:49:24Z")

</div>

We have not implemented it yet

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 26, 2023, 10:52am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/18 "2023-09-26T10:52:59Z")

</div>

I have just obtained the config details it runs to 390 lines! Sorry to be off the mark here, what are yiu looking for by way of an entry. Can you provide an example then I will extract what is relevant.

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 26, 2023, 10:54am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/19 "2023-09-26T10:54:29Z")

</div>

To your point yes I also understand that Relay and Dragonfly cannot work together with relay in full mode. However, it can be configured to replace phpRedis and not to use teh Cache feature. That is what I wanted to try out.

---

<div class="post-metadata">

**Author:** ![terrific-dingo](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@terrific-dingo](https://dragonfly.discourse.group/u/terrific-dingo)\
**Post date:** [September 26, 2023, 10:55am UTC](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106/20 "2023-09-26T10:55:10Z")

</div>

And do you envisage adding the Client Tracking feature any time soon

[Next page](https://dragonfly.discourse.group/t/compatibility-with-object-cache-pro-ocp/106.md?page=2)
