Scaling in Azure Redis Enterprise is a simple and straightforward process, facilitated by the platform's built-in tools. You can scale either up (vertical scaling) or out (horizontal scaling) depending on the demands of your application.
# Sample Azure CLI command az redis enterprise update --name mycache --resource-group myresourcegroup --sku Enterprise_E10 --location westus
To horizontally scale:
# Sample Azure CLI command az redis enterprise cluster node create --cluster-name mycluster --node-type primary --region 0 --zone-redundant false --resource-group myresourcegroup
Remember, it's essential to monitor the performance of your Redis instances to determine when it is necessary to scale. Use Azure Monitor and Azure Log Analytics to gain insights into your Redis performance metrics.
Dragonfly is fully compatible with the Redis ecosystem and requires no code changes to implement.