About Microservices
Think small to go big
Salvatore Cordiano
One giant app that did everything
Three-tier architecture
Monolithic application
• Web assets (CSS, JS, Images, etc.)
• REST API
• Data Persistance tier
• Sessions
• Authentication
• Security
• …
The age of the monolith is over
What are microservices?
“Fine grained SOA”
Adrian Cockcroft, Netflix
What are microservices?
“The microservice architectural style is
an approach to developing a single
application as a suite of small services,
each running in its own process and
communicating with lightweight
mechanisms, often an HTTP resource
API”
Martin Fowler, ThoughtWorks
What are microservices?
Every microservice does one thing and
one thing well
Codebaseissmall
How small is small?
“Something that could be rewritten in
two weeks”
Jon Eaves, Real Estate Australia
Autonomous
• PaaS or own OS process
• Communication via network calls
• Black-box
• Application Programming Interface (API)
Technology heterogeneity
Embrace new technology
Resilience
Scaling
Ease of deployment
Composability
Optimizing for replaceability
Organization alignment
Disadvantages
• Network issues
• Distributed computing
• Authentication (SSO, Stateless, Mutual, etc.)
• Service discovery

About Microservices