All Products
Search
Document Center

Object Storage Service:RTC

Last Updated:Sep 02, 2024

The Replication Time Control (RTC) feature provided by Object Storage Service (OSS) helps you meet compliance requirements or business requirements for cross-region replication (CRR). After the RTC feature is enabled, OSS replicates most of the objects that you uploaded to OSS within a few seconds and replicates 99.99% of objects within 10 minutes. In addition, RTC allows you to monitor replication metrics in real time.

Billing

  • After you enable the RTC feature, you are charged for data replication traffic that is generated for RTC-enabled data replication tasks. For more information, see RTC traffic fees.

  • For a source region and a destination region that you configured for a replication task, you can claim a Service Credit if the replication bandwidth limit and queries per second (QPS) limit are not reached, and the service-level agreement (SLA) is not met in the billing month. For more information, see Alibaba Cloud International Website Object Storage Service Service Level Agreement.

Limits

  • Regions

    • Regions in the Chinese mainland

      RTC is available in the following regions: China (Hangzhou), China (Shanghai), China (Qingdao), China (Beijing), China (Zhangjiakou), and China (Shenzhen).

    • Regions outside the Chinese mainland

      RTC is available in the following regions: US (Silicon Valley) and US (Virginia).

  • Bandwidth

    • Bandwidth limits between two regions

      The bandwidth limit between two regions in the Chinese mainland is 10 Gbit/s. The bandwidth limit between two regions outside the Chinese mainland is 2 Gbit/s.

    • Bandwidth limits for one region

      The bandwidth limit for a region in the Chinese mainland is 20 Gbit/s. The bandwidth limit for a region outside the Chinese mainland is 4 Gbit/s.

    If you require higher bandwidth, contact technical support.

  • QPS

    • QPS limit for replication between two regions

      The QPS limit between two regions in the Chinese mainland is 10,000. The QPS limit between two regions outside the Chinese mainland is 5,000.

    • QPS limit for replication for one region

      The QPS limit for a region in the Chinese mainland is 20,000. The QPS limit for a region outside the Chinese mainland is 10,000.

    Important

    The preceding QPS limits apply to replication that uses non-sequential writes. The QPS limit for replication that uses sequential writes is 2,000. If QPS is too large, the latency increases. We recommend that you do not name the objects with sequential prefixes if you want to upload a large number of objects. For more information about how to change sequential prefixes to random prefixes, see OSS performance best practices.

Enable RTC

You can enable the RTC feature for new or existing CRR rule. You can enable the RTC feature for CRR rules to replicate all objects in a bucket, or to replicate objects with specified tags or whose names contain specified prefixes in a bucket.

Important

If the RTC feature is enabled for a CRR rule in which the Replicate Historical Data parameter is set to No, the RTC feature takes effect approximately 15 minutes after the feature is enabled. If the RTC feature is enabled for a CRR rule in which the Replicate Historical Data parameter is set to Yes, the RTC feature takes effect approximately 1 hour after the historical data is replicated.

Enable the RTC feature when you create a CRR rule

You can enable RTC for a CRR rule when you create the rule. For more information, see CRR overview.

Enable the RTC feature for an existing CRR rule

  1. Log on to the OSS console.

  2. In the left-side navigation pane, click Buckets. On the Buckets page, click the name of the bucket for which you want to enable RTC.

  3. In the left-side navigation tree, choose Data Management > CRR.

  4. On the CRR tab, find the CRR rule and turn on RTC in the RTC column. In the message that appears, click OK.

Monitor replication metrics

After the RTC feature is enabled, you can click RTC Metric Monitoring on the CRR tab in the OSS console to view replication metrics. For example, you can view the data replication latency, the amount of data remains to be replicated, and the number of operations to be replicated.

monitor

The following table describes the replication metrics.

Metric

Description

RTC Replication Latency

The maximum data replication latency of the replication, that is, the recovery point objective (RPO) of the replication.

For example, if the data replication latency is 1 minute, RTC ensures that all data written to the source bucket 1 minute ago is replicated to the destination bucket. When a disaster or an emergency occurs, you can recover the data to a point in time 1 minute ago.

RTC Amount of Data to Replicate

The total size of data that remains to be replicated to the destination bucket by a replication rule at a specific point in time.

For example, 800 MB of data is written to the source bucket at 08:00 and OSS replicates 600 MB of the data between 08:00 and 08:01. At 08:01, the amount of data that remains to be replicated is 200 MB.

RTC Number of Operations to Replicate

The total number of operations that remains to be replicated by a replication rule to the destination bucket at a specific point in time.

For example:

  • 111 operations are performed on the source bucket at 08:00

    100 write operations + 10 delete operations + 1 operation to modify an object access control list (ACL)

  • The CRR feature replicates 101 operations between 08:00 and 08:01

    90 write operations + 10 delete operations + 1 operation to modify the object ACL

At 08:01, the number of operations that remains to be replicated is 10.

RTC Write Bandwidth

The write bandwidth of the data to replicate from the source bucket by a replication rule.

For example, the objects whose names contain the prefix1 and prefix2 prefixes are written to the source bucket at 08:00 at a total bandwidth of 800 Mbit/s, where:

  • The write bandwidth of the objects whose names contain the prefix1 prefix is 200 Mbit/s.

  • The write bandwidth of the objects whose names contain the prefix2 prefix is 600 Mbit/s.

If the replication rule replicates only the objects whose names contain the prefix1 prefix, the RTC write bandwidth is 200 Mbit/s.

RTC Write QPS

The QPS of write operations to replicate from the source bucket by a replication rule.

For example, the upload, modify, and delete operations are performed on the source bucket at 08:00.

  • The QPS for object uploads is 10.

  • The QPS for object ACL modification is 5.

  • The QPS for object deletion is 3.

If the replication rule replicates only the upload and modify operations performed on the source bucket, the RTC write QPS is 15.

If the replication rule replicates all operations performed on the source bucket, the RTC write QPS is 18.

Note

The RTC write operations include the following operations:

  • Upload objects, modify object ACLs, and delete objects

    The corresponding API operations are PutObject, PostObject, AppendObject, CopyObject, DeleteObject, DeleteMultipleObjects, and PutObjectACL.

  • Initiate multipart upload tasks, upload parts, and copy parts

    The corresponding API operations are InitiateMultipartUpload, UploadPart, UploadPartCopy, and CompleteMultipartUpload.

  • Add tags to and remove tags from objects

    The corresponding API operations are PutObjectTagging and DeleteObjectTagging.

  • Create a symbolic link

    The corresponding API operation is PutSymlink.