All Products
Document Center

:Do I need to modify the code after I upgrade an ApsaraDB for Redis standard instance to an ApsaraDB for Redis cluster instance?

Last Updated:Sep 04, 2023

Upgrading a standard instance to a classic cluster instance does not require any code modifications. This is because proxy nodes can handle architecture changes seamlessly, allowing you to use the cluster architecture in the same way as you use the standard architecture.

If your business requirements outgrow the capabilities of a standard instance, you can migrate the data of the standard instance to a cluster instance that has proxy nodes without having to modify the code. This significantly reduces your costs.

  • Proxy nodes can balance loads, route commands, manage the traffic to read replicas, cache hotkey data, and support multi-database usage within a cluster instance. For more information, see Features of proxy nodes.

  • If you upgrade a standard instance to a cloud-native cluster instance, you must modify the code based on the SDK that you use.