monolith vs microservices vs team
Tomáš Strejček, Dev Leader, Mall Group
@TomasStrejcek
aboutme.md
MallGroup, Rockaway, RocDevs, Stuff
No PHP, #bummer
But we can chat about it later and I will mention few things about
what we do and how.
But I must say, lot of things are pretty generic, no matter the
programming language.
Don’t take me too seriously
No, really. Don’t.
I will not tell you what is better
..but I will show you stuff that matters
I won’t show you how to do M/SOA
..you can google that sh**
Monoliths are #evil
Not!
Monoliths are big and strong
..and maybe bloated.
But what does it mean? How does it look like?
Big ball of mud
..is something you don’t want.
Ever.
Monoliths or microservices, it
may still end up in the same hell
hole
Or not, but you really have to design your application first hand.
All the musts for M/SOA are
valid for every software project
Documenting! Testing! Loose coupling! No shortcuts! No hacking!
Good SW design! Separation of concerns! Fast deployments!
Continuous integration! Monitoring! Caching! Other stuff!
Is it really binary (or black and
white for nontech) problem?
It is not.
3mw architecture slide
How hard is to find what is
going on?
Are monitoring tools and logs enough? Do you have API?
Microservices are great, but you
need to GET there, not START
there.
#MonolithFirst
Is then M/SOA last?
Monolith -> ? -> M/SOA
? = time or something else
Modular distributed
monolith architecture
MDMA for short
I made it up obviously but it really made me laugh, so I am rolling with it.
What I mean is..
..wait for it ..
Is application different when
run in CLI instead over FPM?
It should be.
Is application different when
you access it through user
backend or user frontend?
It should be.
You, as developers, have great
power to change you app
behavior via configuration.
Incl. feature flags, environment variables etc.
How do you maintain 20
microservices in team of 5
developers?
You can’t and you shouldn’t get to the point where you do.
Managing, deploying and
scaling complexity is hard.
But deploying single app? Just git pull and adios.
Everybody doesn’t have to be
DevOps
Not even those fancy react redux nodejs javascript hybrid guys
rolling on AWS.
Infrastructure as a code to the
rescue!
Or not, you don’t really need IaaC in monoliths.
What really matters: does it
work? :)
(for you)
Thank you!
Questions?
Tomáš Strejček, Dev Leader, Mall Group
@TomasStrejcek
More reading… (and watching)
Microservices, monoliths and laser nail guns: Etsy tech boss on finding the right focus
https://medium.com/s-c-a-l-e/microservices-monoliths-and-laser-nail-guns-how-etsy-finds-the-right-focus-in-a-se
a-of-cf718a92dc90#.m2jxzcb0l
Modular Monoliths - Simon Brown
https://www.youtube.com/watch?v=k8bi2r6Z0h8
Microservice Trade-Offs - Martin Fowler
http://martinfowler.com/articles/microservice-trade-offs.html
Modular vs Monolithic: No Holy Grails
https://speakerdeck.com/pote/modular-vs-monolithic-no-holy-grails
MonolithFirst - Martin Fowler
http://martinfowler.com/bliki/MonolithFirst.html

Monolith vs Microservices vs Teams

  • 1.
    monolith vs microservicesvs team Tomáš Strejček, Dev Leader, Mall Group @TomasStrejcek
  • 2.
  • 3.
    No PHP, #bummer Butwe can chat about it later and I will mention few things about what we do and how. But I must say, lot of things are pretty generic, no matter the programming language.
  • 4.
    Don’t take metoo seriously No, really. Don’t.
  • 6.
    I will nottell you what is better ..but I will show you stuff that matters
  • 7.
    I won’t showyou how to do M/SOA ..you can google that sh**
  • 8.
  • 9.
    Monoliths are bigand strong ..and maybe bloated. But what does it mean? How does it look like?
  • 11.
    Big ball ofmud ..is something you don’t want. Ever.
  • 16.
    Monoliths or microservices,it may still end up in the same hell hole Or not, but you really have to design your application first hand.
  • 17.
    All the mustsfor M/SOA are valid for every software project Documenting! Testing! Loose coupling! No shortcuts! No hacking! Good SW design! Separation of concerns! Fast deployments! Continuous integration! Monitoring! Caching! Other stuff!
  • 18.
    Is it reallybinary (or black and white for nontech) problem? It is not.
  • 19.
  • 21.
    How hard isto find what is going on? Are monitoring tools and logs enough? Do you have API?
  • 22.
    Microservices are great,but you need to GET there, not START there.
  • 23.
  • 24.
    Monolith -> ?-> M/SOA ? = time or something else
  • 25.
    Modular distributed monolith architecture MDMAfor short I made it up obviously but it really made me laugh, so I am rolling with it.
  • 27.
    What I meanis.. ..wait for it ..
  • 28.
    Is application differentwhen run in CLI instead over FPM? It should be.
  • 29.
    Is application differentwhen you access it through user backend or user frontend? It should be.
  • 30.
    You, as developers,have great power to change you app behavior via configuration. Incl. feature flags, environment variables etc.
  • 31.
    How do youmaintain 20 microservices in team of 5 developers? You can’t and you shouldn’t get to the point where you do.
  • 32.
    Managing, deploying and scalingcomplexity is hard. But deploying single app? Just git pull and adios.
  • 33.
    Everybody doesn’t haveto be DevOps Not even those fancy react redux nodejs javascript hybrid guys rolling on AWS.
  • 34.
    Infrastructure as acode to the rescue! Or not, you don’t really need IaaC in monoliths.
  • 35.
    What really matters:does it work? :) (for you)
  • 36.
    Thank you! Questions? Tomáš Strejček,Dev Leader, Mall Group @TomasStrejcek
  • 37.
    More reading… (andwatching) Microservices, monoliths and laser nail guns: Etsy tech boss on finding the right focus https://medium.com/s-c-a-l-e/microservices-monoliths-and-laser-nail-guns-how-etsy-finds-the-right-focus-in-a-se a-of-cf718a92dc90#.m2jxzcb0l Modular Monoliths - Simon Brown https://www.youtube.com/watch?v=k8bi2r6Z0h8 Microservice Trade-Offs - Martin Fowler http://martinfowler.com/articles/microservice-trade-offs.html Modular vs Monolithic: No Holy Grails https://speakerdeck.com/pote/modular-vs-monolithic-no-holy-grails MonolithFirst - Martin Fowler http://martinfowler.com/bliki/MonolithFirst.html