microservices in production 15/12/2015

21
@d4miendaly

Upload: damien-daly

Post on 12-Apr-2017

377 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Microservices in production 15/12/2015

@d4miendaly

Page 2: Microservices in production 15/12/2015

Who am I?

● Damien Daly● Techlead on Newsweaver analytics team● @d4miendaly● techblog.newsweaver.com

Page 3: Microservices in production 15/12/2015
Page 4: Microservices in production 15/12/2015

Over 400 organizations in 97 countries use Newsweaver to help them inform, engage and inspire employees

Page 5: Microservices in production 15/12/2015

Loosely coupled service oriented architecture with bounded contexts “

”- Adrian Cockcroft

Page 6: Microservices in production 15/12/2015
Page 7: Microservices in production 15/12/2015
Page 8: Microservices in production 15/12/2015

Our approach to development

Page 9: Microservices in production 15/12/2015

Cost of running in production

Page 10: Microservices in production 15/12/2015

Benefits we are seeing

Page 11: Microservices in production 15/12/2015

Some of the techs we use

Page 12: Microservices in production 15/12/2015
Page 13: Microservices in production 15/12/2015
Page 14: Microservices in production 15/12/2015
Page 15: Microservices in production 15/12/2015
Page 16: Microservices in production 15/12/2015
Page 17: Microservices in production 15/12/2015

browser

report-front-api-svc

employee-metrics-svccontent-metrics-svc

Reports Context

Page 18: Microservices in production 15/12/2015

dropwizardservice

docker image

replication controller Endpoints:/businessLogic/health/metrics

Typical Service

Page 19: Microservices in production 15/12/2015

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

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

?techblog.newsweaver.com@d4miendaly