Title: [Plugin: WP-FFPC] Memcache In Protocol Mode Binary
Last modified: August 20, 2016

---

# [Plugin: WP-FFPC] Memcache In Protocol Mode Binary

 *  Resolved [JustinK101](https://wordpress.org/support/users/justink101/)
 * (@justink101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/)
 * Changing memcache to run in binary protocol instead of ASCII breaks the plugin.
 * The directive is:
    memcache.protocol
 * Any ideas on this?
 * [http://wordpress.org/extend/plugins/wp-ffpc/](http://wordpress.org/extend/plugins/wp-ffpc/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684775)
 * [@justink101](https://wordpress.org/support/users/justink101/): I’ve never tried
   that setting to be honest. Can you please tell me a situation, where changing
   that parameter is really necessary?
 * Although the plugin should work, I’ll take a look into it, but seems to be a 
   rare situation to use memcache in binary mode.
 *  Thread Starter [JustinK101](https://wordpress.org/support/users/justink101/)
 * (@justink101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684878)
 * Peter,
 * So we are building a high scale WordPress multi-site setup, and our memcache 
   server is on a separate server from the web/php workers. Doing some benchmarks,
   the traffic between the web server and memcache server was reaching 40-60mbps.
   Read that using binary protocol results in much smaller network traffic.
 * Would you be able to assist me one-on-one for a bit? We could pay you for your
   time.
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684892)
 * Although it sounds great I have no idea yet how to even get started hunting the
   cause, but I do want to solve it 🙂
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684894)
 * [@justink101](https://wordpress.org/support/users/justink101/): I’ve added
 * memcache.protocol=”binary”
 * but the plugin did not fail, it worked the save a before.
    Can you please tell
   me what did you experienced as breaking?
 *  Thread Starter [JustinK101](https://wordpress.org/support/users/justink101/)
 * (@justink101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684926)
 * Peter,
 * When we enable:
 *  memcache.protocol = “binary”
 * We stop seeing the cached header in the response, and indeed its not caching 
   in memcached. Can you confirm that when you running in binary, its still caching
   and working?
 * Thanks.
 *  Thread Starter [JustinK101](https://wordpress.org/support/users/justink101/)
 * (@justink101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684941)
 * Peter,
 * Here are additional details, maybe you can replicate.
 * **PHP Version:** 5.3.10
    **PHP Memcache Version:** 3.0.6 **Memcached Version:**
   1.4.13
 * Thanks.
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684963)
 * Hi,
 * I’ll make some tests with binary protocol on an other machine as well to see 
   if anything happens.
 *  Thread Starter [JustinK101](https://wordpress.org/support/users/justink101/)
 * (@justink101)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2684978)
 * Peter,
 * Wanted to follow up, and see if you can reproduce binary mode not working with
   WP-FFPC.
 * If we donate some money, do you think you can free up a bit of time to work with
   us on WP-FFPC for a bit.
 * Thanks.
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2685007)
 * Hi Justin,
 * No, I wasn’t able to reproduce the bug yet. To be honest, I did not have the 
   time to put together a system with the versions you described, but I still want
   to figure this out, I just don’t really know, when.
 * My system is an Ubuntu 11.10, with the following versions:
    Memcached 1.4.7 (
   from ubuntu package) PHP Memcache 2.2.6 ( 3.0.6 is still beta, that’s the reason)
   PHP Version 5.3.6-13ubuntu3.6
 * … and now I see that the reason I’m unable to reproduce it is that I’m using 
   pre 3.0 version of PHP-Memcache.
 * I’m going to upgrade it and get back to this problem.
 *  [pepejose](https://wordpress.org/support/users/pepejose/)
 * (@pepejose)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2685015)
 * sorry for post but i cant create new topic 🙁
 * hi! (sorry for my poor english)
 * my install:
 * nginx
    php-fpm php 5.3 memcached memcache librarie
 * wordpress 3.3.2
    multisite install (sub-directories) Networks for WordPress plugin
 * I have three networks and I activated wp-ffp on one of them (have 2 blogs in 
   that network), in the configuration I have enabled “Enable debug mode” but I 
   dont see the header “X-Cache-Engine” in the response headers. also I dont see
   errors in php. seems like plugin was not activated
 * in the plugin configuration page, I see Backend status: up & running
 * any help please!?
 * thank you very much
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2685033)
 * Hi [@pepejose](https://wordpress.org/support/users/pepejose/),
 * I’m sorry, I didn’t have any time to retouch the plugin until now.
    Actually 
   I’m unable to figure out the memcache modul & binary mode error, it seems to 
   be deeper than my plugin.
 * But! Eventually I’ve made a progress and made the memcache**d** modul to go with
   binary mode and be compabible with nginx as well – if you could use that, that
   may help you.
 * Cheers,
    Peter
 *  Plugin Author [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * (@cadeyrn)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2685048)
 * Seems that memcache module has a serious bug using binary mode; I’m closing this
   topic, binary mode is default with the plugin using memcached and not supported
   using memcache.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘[Plugin: WP-FFPC] Memcache In Protocol Mode Binary’ is closed to new 
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-ffpc_ffffff.svg)
 * [WP-FFPC](https://wordpress.org/plugins/wp-ffpc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-ffpc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-ffpc/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-ffpc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-ffpc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-ffpc/reviews/)

 * 12 replies
 * 3 participants
 * Last reply from: [petermolnar](https://wordpress.org/support/users/cadeyrn/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-wp-ffpc-memcache-in-protocol-mode-binary/#post-2685048)
 * Status: resolved