Client side Moxi Connections
Please could you verify that my understanding of how the moxi works is correct and if not tell me where I'm going wrong :)
So I have 4 couchbase VM's in the cluster with a default bucket and 2 other buckets.
These 4 nodes sit behind a VIP on port 8091.
On our webapp servers we have a client side moxi per bucket, a moxi is configured with the cluster being the VIP address ( url=http://VIP:8091/pools/default/bucketsStreaming/ ) and each moxi listens on a different port.
When the moxi starts up my assumption is that it connects to the cluster via the url I specified above, it then downloads the cluster configuration. The point I want to clarify is that when a real get/set request comes into the moxi for the bucket, is the connection made directly between the moxi and the couchbase node or does the request still go via the url above (the VIP)? My assumption was that since the moxi downloaded the cluster configuration that the moxi would connect directly to the correct couchbase node.
My doubts come from reading the notes on using round robin for load balancing the VIP, if the moxi just uses the VIP to download the cluster config only then I'm not sure I see why round robin would be a problem.
I hope this makes sense, please let me know if anything is unclear.