Wondering How getbulk API works
in Java Couchbase library,
there is an API called bulkget, which is getting multiple values with multiple keys
However, I was wondering how this is called.
Pretty sure it won't be calling get API multiple times...
Under the circumstances that I am using client side Moxi, can someone tell me how it is working roughly?
If client gets set of keys, moxi routes client to connect to one of master server of keys. Then, the client receives values of all keys whether those keys are set as master server. I will briefly draw rough drawing
Replica is set to 3
Cluster 1 Cluster2 Cluster3 Cluster4 Cluster5 Cluster6 Cluster7 Cluster8
Key A KeyA KeyB KeyB KeyA KeyB
if keys are stored like that, how does client actually work when I use getbulk(KeyA,KeyB) API?