We’re excited to announce a significant improvement to the Connect Data Residency experience, Shorter Migration Windows. This feature is designed to minimise downtime during realm migrations, making the process more efficient and less disruptive for our enterprise customers.
Why Shorter Migration Windows?
Planning for a 24-hour migration downtime can be challenging for customers, especially when this needs to be scheduled multiple times as apps begin supporting migrations. Our data shows that over 99% of app migrations are completed within 2 hours. This insight, along with feedback from customers and partners led us to rethink and optimise the migration process.
How It Works
With the introduction of Shorter Migration Windows, Connect developers can now specify the expected duration of a realm migration for their customers. This allows for a significant reduction in the required downtime, improving the overall customer experience. To implement this change, partners need to update their app descriptor to include the maxMigrationDurationHours parameter. This parameter allows partners to set the estimated migration duration, ranging from 0.5 to 24 hours. The example below demonstrates how to configure this setting:
"dataResidency": {
"maxMigrationDurationHours": 2 // default is 24 hours, maximum is 24 hours
}
You can read more here
FAQ
What happens if a migration takes longer than the defined period?
- Like it does currently, if a migration takes longer than the defined maxMigrationDuration, the migration will timeout and fail.
What happens if a migration takes less time than the defined period?
- In the event a migration takes less time than the defined maxMigrationDuration, if all migrations for that customer are finished, they will be brought back online earlier.
What happens when maxMigrationDuration isn’t defined?``
- If maxMigrationDuration isn’t defined, the current default of 24 hours will apply.
Customer Experience
Customers will benefit from greater transparency and predictability in the migration process. They will be able to view the expected downtime for their apps as they migrate.
Note: The migration downtime for a customer is the highest maxMigrationDuration provided among Apps in the migration.
Looking Ahead
Based on our observations that more than 99% of migrations are completed within 2 hours, we will be reducing the default downtime for realm migrations from 24 hours to 2 hours starting in September. This change will streamline the migration process, reducing interruptions for our customers and aligning more closely with actual migration times.