Hey, I have a conceptual question about this topic.
Let’s consider two alternative set-ups. The first one is the config that @MichelDiz provided, that uses an nginx load balancer.
Let’s say I connect to this cluster using a Go or Python client like so:
client = pydgraph.DgraphClient(pydgraph.DgraphClientStub(‘localhost:9080’))
Now in the other set-up, I don’t use this config, but just have three zeros and three alphas, with no nginx load balancing.
Let’s say I run three different writers, one for each alpha, like so:
client1 = pydgraph.DgraphClient(pydgraph.DgraphClientStub(‘localhost:9080’))
client2 = pydgraph.DgraphClient(pydgraph.DgraphClientStub(‘localhost:9081’))
client3 = pydgraph.DgraphClient(pydgraph.DgraphClientStub(‘localhost:9082’))
and write from all of them simultaneously.
Which set-up do you expect to perform better?