2. Just Little About me
Developing android app, more focused on
chunked data streaming stuff
Working on enterprise ERP cloud base
software
Right now… working on microservices
architecture based for cloud workflow
software
Tehran docker spring 2015
4. Is about being more distributed, like Internet
itself
Tehran docker spring 2015
5. Once upon time there was only OS/desktop
based software, till internet changed everything
And we started to develop web base software
like we used to build OS base on.
Building monolithically
Tehran docker spring 2015
6. Monolithic software is like big pyramid,
Everything is tight up together and heavy
coupled
Tehran docker spring 2015
7. • Monolithic is not that much flexible
• Become lazy after while
• You need huge budget and resources if you
want make big M-enterprise app
• But it is less complex with limited number of
endpoints, and connection style between
entities
Tehran docker spring 2015
9. Breaking your system into couple of small
dependence services (each service can be
around 100 loc)
Each Microservices can be deployed and work
independently so indeed you can user different
technology for each service
Tehran docker spring 2015
13. It is really easier to deploy microservices
comparing to old ways with traditional SOA
system, in fact you can deploy real-time to
your production.
Tehran docker spring 2015
14. Docker helps to provision much faster and
easier
just run your microservices images!!
Tehran docker spring 2015
15. Also much easier to scale up, just need fire up
couple of more docker container and have
more service instant running
Tehran docker spring 2015
16. In fact there is a term for it
Code as infrastructure
Tehran docker spring 2015
17. Lets wrap it up..
Microservices architecture
flexible, decoupled, independent and easy to
scale
Tehran docker spring 2015
18. But.. Don’t forget it is just an architecture not
a master key!
So you might still consider monolithic style if
you want do things fast and avoid some
complexity
Tehran docker spring 2015
21. And that is it...
You can find me
@arfo90
Tehran docker spring 2015
Notes de l'éditeur
New trend, in fact 2015 is year of microservices
Small fine grained service
SOA is father and in fact it is not a new concept just it is discovered due to the needs,
SOA
Designed to fit cloud nature
Layered software architecture
Coupled, hard to maintain, sometimes bad code, hard to scale , hard to evolve, hard to risky overall to change but it is easy to build
Exact story
Become lazy to pick new technological approaches
2014 new era
Less than 100
Small and fine grained service
2 pizza team
This is how services can communicate with each other, using Queue, message bus and REST (more common to use REST)
Provisioning might be hard specially when we are using different technology, and tools. Also helps us to avoid conflict issues between services and project since we limited the scope
You can use command (code) to lunch new VM or kill it, everything can be automated using tools such as chef and puppet
Complex, as your project grows it become more complex