Tuesday, 24 July 2018

Architect Topics



Continuous Integration (http://java-wcs-development.blogspot.com/2018/07/continuous-integration-ci.html)

Continuous Delivery/Deployment (http://java-wcs-development.blogspot.com/2018/07/continuous-delivery-vs-continuous.html)

Blue Green Deployment (https://www.thoughtworks.com/insights/blog/implementing-blue-green-deployments-aws)

Finally, another way to perform the blue-green switch with Route53 is using Weighted Round-Robin. This works for both regular resource record sets as well as alias resource record sets. You have to associate multiple answers for the same domain/sub-domainand assign a weight between 0-255 to each entry. When processing a DNS query,Route53 will select one answer using a probability calculated based on those weights. To perform the blue-green switch you need to have an existing entry for the current “blue” environment with weight 255 and a new entry for the “green” environment with weight 0. Then, simply swap those weights to redirect traffic from blue to green.






Continuous Integration (CI)

Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.

By integrating regularly, you can detect errors quickly, and locate them more easily.

Continuous Integration doesn’t get rid of bugs, but it does make them dramatically easier to find and remove. — Martin Fowler, Chief Scientist, ThoughtWorks

Team responsibilities:
==================
Check in frequently
Don’t check in broken code
Don’t check in untested code
Don’t check in when the build is broken
Don’t go home after checking in until the system builds

Continuous Delivery vs Continuous Deployment

Puppet/GoCD/Bamboo/Jenkins


While continuous deployment may not be right for every company, continuous delivery is an absolute requirement of DevOps practices. Only when you continuously deliver your code can you have true confidence that your changes will be serving value to your customers within minutes of pushing the "go" button, and that you can actually push that button any time the business is ready for it.