Download - Microservices in production 15/12/2015
![Page 1: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/1.jpg)
@d4miendaly
![Page 2: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/2.jpg)
Who am I?
● Damien Daly● Techlead on Newsweaver analytics team● @d4miendaly● techblog.newsweaver.com
![Page 3: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/3.jpg)
![Page 4: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/4.jpg)
Over 400 organizations in 97 countries use Newsweaver to help them inform, engage and inspire employees
![Page 5: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/5.jpg)
Loosely coupled service oriented architecture with bounded contexts “
”- Adrian Cockcroft
![Page 6: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/6.jpg)
![Page 7: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/7.jpg)
![Page 8: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/8.jpg)
Our approach to development
![Page 9: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/9.jpg)
Cost of running in production
![Page 10: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/10.jpg)
Benefits we are seeing
![Page 11: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/11.jpg)
Some of the techs we use
![Page 12: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/12.jpg)
![Page 13: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/13.jpg)
![Page 14: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/14.jpg)
![Page 15: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/15.jpg)
![Page 16: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/16.jpg)
![Page 17: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/17.jpg)
browser
report-front-api-svc
employee-metrics-svccontent-metrics-svc
Reports Context
![Page 18: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/18.jpg)
dropwizardservice
docker image
replication controller Endpoints:/businessLogic/health/metrics
Typical Service
![Page 19: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/19.jpg)
What happens when we get a bug?
Bugfix branch + fix
PRBuild + Automated test
Deploy to Staging via kubernetes
Acceptance Tests
Deploy to Live via kubernetes
Synthetic tests live
![Page 20: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/20.jpg)
Quick recap
● start small● many benefits● pay the costs in tandem with application development● a lot of of these principles can be applied to most development approaches
![Page 21: Microservices in production 15/12/2015](https://reader031.vdocuments.us/reader031/viewer/2022030308/58ed11991a28aba63a8b4683/html5/thumbnails/21.jpg)
?techblog.newsweaver.com@d4miendaly