Data migration on PRD
Sometimes, data should be migrated on PRD environment.
Some kind of things should be considered before migration start.
1. How long does it take to complete the migration job?
In PRD environment, user data is changing in real time. Suppose we have to move user's content. User can add or delete contents whenever they want. If all users upload new contents ( for example, their photos, videos ) and the size of new contents is always bigger than the size of the contents we can migrate, this migration never ends.
2. Users don't need to know the behind scene.
As a customer, we don't want to see pop-up saying "Your data is migrating now.. so visit again later." If it is possible, data migration process and user request handling process should be separated. For example, serve them with original data until migrated. After migration completed, route the user request to migrated service.
3. Integrity!!!
The most important thing we must care about in migration on PRD is about integrity. User data is pricelessly valuable. If we lose integrity in user data, it means we lose trust, opportunity, money, and of course, customers.
Some kind of things should be considered before migration start.
1. How long does it take to complete the migration job?
In PRD environment, user data is changing in real time. Suppose we have to move user's content. User can add or delete contents whenever they want. If all users upload new contents ( for example, their photos, videos ) and the size of new contents is always bigger than the size of the contents we can migrate, this migration never ends.
2. Users don't need to know the behind scene.
As a customer, we don't want to see pop-up saying "Your data is migrating now.. so visit again later." If it is possible, data migration process and user request handling process should be separated. For example, serve them with original data until migrated. After migration completed, route the user request to migrated service.
3. Integrity!!!
The most important thing we must care about in migration on PRD is about integrity. User data is pricelessly valuable. If we lose integrity in user data, it means we lose trust, opportunity, money, and of course, customers.
Comments
Post a Comment