We are using Couchbase 5.1.1, a cluster of 5 VMs, memcached bucket. I try to understand how memcache bucket work within a couchbase cluster.
Php is speaking memcache directly to couchbase servers (no explicit proxy).
But sometime, I see error: SERVER_ERROR proxy downstream timeout looks like there is a proxy somewhere?
Test with Docker:
docker run --name cb --rm -ti couchbase:5.1.1
Then inside the container:
couchbase-cli cluster-init --cluster localhost --cluster-username admin --cluster-password totototo --cluster-name poccouchbase-cli bucket-create --username admin --password totototo --cluster localhost --bucket mem --bucket-type memcached --bucket-ramsize 128 --bucket-port 11212
I can see a moxi process now:
> /opt/couchbase/bin/moxi -B auto -z
> url=http://127.0.0.1:8091/pools/default/bucketsStreaming/mem -Z
> port_listen=11212,downstream_max=1024,downstream_conn_max=4,connect_max_errors=5,connect_retry_interval=30000,connect_timeout=400,auth_timeout=100,cycle=200,downstream_conn_queue_timeout=200,downstream_timeout=5000,wait_queue_timeout=200 -p 0 -Y y -O stderr