Microservices
Zane DeGraffenried
Colorado Springs JS - Jan 27, 2016
Monolith
- Difficult to upgrade
- Wide System Knowledge Required
- Shared DB
Service Oriented Architecture
- Easier to upgrade
- Lack of constraints can create monolithic services
- Shared DB
Small Interconnected Services
Independent Processes
Private Data Store
Immutable Infrastructure
We deployed 11,000 times in 2015.
— John Sheehan (@johnsheehan) January 4, 2016Consuming your Application as a whole
Modular Middleware
- Authentication
- Error Handling
Unified & Intelligent Endpoints
/v1/account/1/
/v1/account/1/location/56/
/v1/account/1/location/56/fixture/42/
/v1/account/1/location/56/usage/
/v1/account/1/billing/
Lessons we have learned
Document Everything Everywhere
Infrastructure Management must be Automated
Resources
Infrastructure Management
Further Reading
Service Discovery/Routing
Infrastructure
Microservices
Zane DeGraffenried
Colorado Springs JS - Jan 27, 2016