Strong consistency within a global bucket? - Tigris

Strong consistency within a global bucket?

Is X-Tigris-Consistent: true supported for a "global" bucket?

Alternatively can X-Tigris-Regions: fra be specified for both PUTs and GETs in a global bucket?

I'm looking for a way to guarantee strong consistency for write-then-read across clients in different regions (at the cost of increased latency) for a small subset of keys within a single global bucket. Is this possible?

Yes, X-Tigris-Consistent: true is supported for a "global" bucket, and the header would ensure strong consistency within the region. However, cross-region consistency would still be eventual.

If you require strong consistency for read and write requests across regions within a continent (North America or Europe), then the "Multi-region" bucket location option would be a good fit.

More details on that are available here:

https://www.tigrisdata.com/docs/concepts/consistency/

Are the X-Tigris-* headers documented anywhere? I don't see them mentioned in that link.

I'm not sure if there's a list of every X-Tigris header anywhere, I can look though

https://github.com/tigrisdata/storage-go/blob/main/tigrisheaders/tigrisheaders.go <- has a list of many of them

GitHub

storage-go/tigrisheaders/tigrisheaders.go at main · tigrisdata/sto...

The Tigris Storage SDK in Go! Contribute to tigrisdata/storage-go development by creating an account on GitHub.