LightKone / antidote-rest-server

An HTTP/HTTPS REST API for AntidoteDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow connecting to multiple Antidote replicas

joaomlneto opened this issue · comments

Currently we can only specify a single replica to connect to.
Ideally, we would want to have a pool of replicas to connect to.

This will add a few challenges later -- what strategy to retry requests, compensating for reading stale states when switching replicas.

A workaround is to enable multiple REST Servers, each to a different replica and use a random one each time.