Torch Object Storage
Scenario | Type | Description | Characteristics |
Scenario | Type | Description | Characteristics |
When back-to-origin rules are configured for a multi-region access point | Shortest path first | When you access an object via GetObject or HeadObject through a multi-region access point, and the object is not found in the specified bucket, TOS first attempts to fetch the object from the nearest available bucket. If the target object is not found there, TOS proceeds to the next closest bucket and continues until the object is located. Then, it returns the object to the client. |
|
| Newest object first | When you access an object via GetObject or HeadObject through a multi-region access point, TOS retrieves the latest version of the object from the underlying buckets, regardless of whether the object exists in the specified bucket, and returns it to the client. |
|
When back-to-origin rules are not configured for a multi-region access point | None | When you access TOS via a multi-region access point, TOS automatically routes the request to the nearest bucket. If you access an object that has not yet been replicated, you will receive a 404 error. | Weak data consistency; A 404 error may occur if you try to access an object that has not yet been replicated. |
Scenario | Data consistency | Example |
Scenario | Data consistency | Example |
When you upload an object to a single bucket | Strong write-after-read consistency | object-v1 is uploaded to bucket-r1. TOS routes a request through the multi-region access point to bucket-r2, which triggers a multi-region back-to-origin action. During the back-to-origin process, TOS accesses the underlying buckets in order of proximity. TOS finds object-v1 in bucket-r1, fetches the latest version object-v1, and returns it to the client. |
When you upload objects to multiple buckets | Eventual consistency | Two objects with the same name (object-v1 and object-v2) are uploaded. First, object-v1 is uploaded to bucket-r1, and then object-v2 is uploaded to bucket-r2. TOS routes a request through the multi-region access point to bucket-r3, which triggers a multi-region back-to-origin action. During the back-to-origin process, TOS accesses the underlying buckets in order of proximity. If the nearest bucket is bucket-r1, TOS retrieves object-v1 and returns it to the client. If the nearest bucket is bucket-r2, TOS fetches object-v2 and sends it back to the requester. Once cross-region replication is complete, accessing TOS via the multi-region access point retrieves the latest version, which is object-v2. |
When you overwrite an object | Eventual consistency | Two objects with the same name (object-v1 and object-v2) are uploaded to the same bucket. First, object-v1 is uploaded to bucket-r1, and then object-v2 is uploaded to bucket-r1. The object retrieved when accessing via the multi-region access point depends on the time of access.
|
Parameter | Description |
Parameter | Description |
Rule name | Enter a name for the multi-region back-to-origin rule. |
Status | Select whether to enable the multi-region back-to-origin rule. The options are Enable and Disable. |
Policy Type | Set the back-to-origin policy type. The options are:
|
Scope of application | Specify the scope of the resources that will trigger a multi-region back-to-origin action. The options are:
tip Up to ten prefixes can be added. |