Tigris Consistency Questions - Tigris
Tigris Consistency Questions
Hi, I am evaluating using Tigris as a distributed storage layer for my application. I plan on storing data in multiple regions globally and will be frequently ‘updating’ objects (new put over already existing objects). I have a few questions about the specifics of Tigris’ multi‑region consistency model.
What is the atomicity of a put operation to multiple regions? For example, I try to update an object in the
iadandfraregions. For whatever reason, the put tofrafails. Could theiadput still be executed? Will the put request report a failure?If the
iadput still goes through, what happens if I then make a get request in thefraregion with thex-tigris-cas: trueheader set? Would the request get routed to theiadregion with the stored data that’s been more recently updated? Would Tigris eventually update the existing/outdated stored object in thefraregion?What is the default behavior for a get request with the
x-tigris-cas: trueheader when there are multiple copies of data stored? Will it get routed to the closest region with the object stored?