The Microservices journey from a startup perspective
Susanne Kaiser CTO @suksr Just Software @JustSocialApps
The Microservices journey from a startup perspective Susanne Kaiser - - PowerPoint PPT Presentation
The Microservices journey from a startup perspective Susanne Kaiser CTO @suksr Just Software @JustSocialApps Each journey is different People try to copy Netflix, but they can only copy what they see. They copy the results, not the
Susanne Kaiser CTO @suksr Just Software @JustSocialApps
Adrian Cockcroft, AWS VP Cloud Archtitect, former Netflix Chief Cloud Architect
One team One collaboration product One technology stack
Productivity suffered Usability and UX suffered New features released slowly
JUST CONNECT
Social Network
JUST CHAT
Real-time collaboration
JUST WIKI
Knowledge Base
JUST DRIVE
Document Sharing
JUST TASKS
Task Management
JUST CONNECT
Social Network
JUST CHAT
Real-time collaboration
JUST WIKI
Knowledge Base
JUST DRIVE
Document Sharing
JUST TASKS
Task Management
with well-defined responsibilities
Design for Failure Monitoring Deployment Debugging Testing Eventual consistency Skillset is different Authentication & Authorization Development environment
Transformation takes longer than anticipated You still have to take care of your existing system Core functionality is hard to untangle All involved parties need to agree and to be on board
? ? ? ?
http://blog.sapiensworks.com/post/2012/04/17/DDD-The-Bounded-Context-Explained.aspx
JUST DRIVE JUST TASKS JUST CHAT JUST CONNECT JUST WIKI
Monolith
JUST DRIVE
JUST DRIVE JUST TASKS JUST CHAT JUST CONNECT JUST WIKI DB Adapter REST API Web App DB Adapter
Message Broker
M e s s a g e B r
e r A d a p t e r Message Broker Adapter
Monolith
New technology New UI New data structure Extend skillset Maintain & run current system
DB Adapter Web Client Browser
Monolith
Business Logic
DB Adapter Web Client Browser REST API REST Client Web Client
Web App Monolith
Business Logic
DB Adapter Web Client Browser
Business Logic
DB Adapter REST API Web App
Monolith
REST API REST Client R E S T A P I REST Client
Business Logic
DB Adapter Web Client Browser
Business Logic
DB Adapter REST API Web App
Monolith
REST API REST Client R E S T A P I REST Client Message Broker Adapter Message Broker Adapter Message Broker
Easy to extract Changing frequently Different resource requirements
Monolith
Compile Code Analysis Unit Tests Integration Tests CDC Tests Assemble distribution Publish binaries
Commit Stage
Retrieve binaries Deploy binaries Functional Test
Acceptance Stage
Deploy binaries
UAT
Deploy binaries
Production
Manually triggered
Source: https://jaxenter.de/microservices-consumer-driven-contract-testing-mit-pact-20574
Service Instance per Host Multiple Service Instances per Host/Process Each service instance runs in complete isolation Efficient resource utilization
Full access to the entire system
Susanne Kaiser CTO @suksr Just Software @JustSocialApps