Armagan Amcalar
Node.js Meetup Berlin
Jan 24th, 2017
Armagan Amcalar
Head of Software Engineering @ unu GmbH
Founder @ Lonca Works
dashersw dashersw
Microservices overview
Requirements in production
Testing microservices
CI/CD processes
How Docker Cloud helps
Demo
Separate code base
Multi processes for each service
A bug in a service crashes only that service
Consumes minimal resources
Scales well, needs minimal additional resources
Supports event-driven architecture
Request–response flow breakdown
Hard to manage!
Service discovery
Dynamic service configuration
Health checks & monitoring
Scale up and down across machines and datacenters
Testing at every stage!
Unit tests
Integration tests with other microservices
Acceptance tests for end-to-end behavior
Keeping track of deployments
Testing pull requests
Unit testing changes
Building Docker images
Integration testing with other services
End-to-end acceptance testing
Automated server cluster management with AWS, DigitalOcean, etc. and BYOD
Automated builds from GitHub or Bitbucket repos
Automated testing to Docker Hub
Service and stacks similar to docker-compose
Slack notifications!
Scaling containers / nodes
Terminal access
Security scans
Source code & Docker Cloud configuration available at
Armagan Amcalar
@dashersw