ASCII vs BINARY perfornance issue with php memcached ext
I've noticed that the php memcached ext works much slower (at least x5 times slower) then BINARY protocol is enabled then working with coucbase/membase server.
Then working against memcached server both ASCII and BINARY have about the same performance.
Also i tried working with couchbase php ext - but it's performance is much slower than memcached ext. Progably since is couchbase ext is smart and needs to initialise and maintain cluster vbuckets mappings. So I ended up using moxi standalone server with memcached ext. Though I'd be glad to get rid of moxi.
BUT does it make sense to use a smart client as php extension if the connection is destroyed once http request ends - looks to me like a huge overhead of initializing cluster state for each new http request on app side. Offloading it to moxi is much better , no?