edit-icon download-icon

Scenarios

Last Updated: Dec 06, 2017

DTS delivers data migration, data subscription, and data synchronization services for the following scenarios.

Zero downtime data migration

DTS supports data migration with zero downtime. During data migration, all data changes to the source database are continuously replicated to the target database. After the data migration is completed, the target database remains synchronous with the source database for a period of time. This allows you to switch over the database at your convenience.

The following figure demonstrates the basic concept.

dts scenario 1

Off-site disaster recovery

You can use DTS to replicate data between two RDS instances in different regions in real time. The off-site disaster recovery instance is then a backup of the primary instance. If a disaster occurs, you can switch all requests from the primary instance to the backup instance to ensure business availability.

The following figure demonstrates how DTS can enhance data recovery.

dts scenario 2

Distributed access

Latency may occur when you try to access services across extended geographical distances, leading to poor experience. To improve access experience, DTS provides a distributed access architecture as illustrated in the following figure.

dts scenario 3

In this architecture,

  • Write requests from all regions are routed to the central unit, where the requests are synchronized to each local unit in real time.
  • Read requests from each local region are routed to the nearest local unit, which clears the latency of long-distance access.

Through these request processes, the overall access speed is greatly improved.

Real-time data analysis

Data subscription helps to get real-time data information relating to your business without impacting actual online service. The data obtained can be synchronized to the analysis system for real-time analysis through SDK.

The following figure demonstrates the basic concept.

dts scenario 4

Cache update

Integrating a cache layer into your business architecture enables concurrent read access, which typically improves access speed. However, the temporary storage of cache layers may cause data loss in memory during an abnormal exit. DTS can mitigate this adverse effect by coordinating the needs of persistent storage and cache update.

DTS subscribes real time data changes of the RDS instance and then updates the cached data. With data subscription, you can perform low-latency cache refreshes without degrading the performance of the RDS instance.

The following figure demonstrates the basic concept.

dts scenario 5

Message notification

Data subscription can be used between coupled services to enable asynchronous coupling through a real-time message notification manner. The previously interrelated services can be concurrently started, without degrading the performance. Through asynchronously coupling the core business with downstream services, the core business benefits from a higher stability and reliability.

The following figure demonstrates the basic concept:

dts scenario 6

Thank you! We've received your feedback.