Pearl-Diamond Deployment with TD

Using Traffic Distributor, you can update your app without it ever going offline. This is important because you always want your app to be up-to-date and running smoothly, especially since there’s so much competition out there. If your app goes down during updates, people might not want to use it anymore.

Here’s how you can do it:

Step 1: Imagine you have two versions of your app; let’s call them Pearl and Diamond, and the Traffic Distributor decides which one people see. You can install the Traffic Distributor from the Marketplace.

Running Environment

We have created a test file (index.html) on both environments so you can easily identify from which environment you are getting the request.

Test file

Step 2: To update your app without any downtime, you need to do it one step at a time. First, stop people from seeing one version (let’s say Pearl) using Traffic Distributor.

You do this by adjusting the Traffic ratio slider so all the traffic goes to the version you’re not updating. Then click Apply.

Setup traffic distributor

Step 3: Now that all the traffic is going to the second version (Diamond) of your app, you can make changes to the first version (Pearl) without rushing. For example, you can update and test a new version of your app.

Test Page of Diamond Website

Step 4: When you need to update the second version of your app, just follow the same steps as before. Switch the roles of the environments so that the first version (Pearl) is now getting all the traffic, and the second version (Diamond) can be updated.

Second Version Traffic Distributor

Step 5: Now that all the traffic is going to the First version (Pearl) of your app, you can make changes to the Second version (Diamond) without rushing. For example, you can update and test a new version of your app.

Test Page for Pearl Website

Step 6: Finally, go back to the Distributor settings and adjust the servers’ weights to their original settings.

Adjust server's weights

That’s it! You’ve updated your app on both versions without any interruption to your customers’ service.

Save $100 in the next
5:00 minutes?

Register Here