Simplifying complexity with microservices - Remmelt Pit

Post on 18-Jul-2015

199 views 1 download

Tags:

Transcript of Simplifying complexity with microservices - Remmelt Pit

Remmelt PitInfo.nlremmelt@info.nl@remmelt_InfoWifiExt / 2015DeNieuweWereld

simplifying complexitywith microservices

conclusion

microservicesare awesome

since2003

12,000auctions

4,000,000listings

~1M uniquevisitors/month

not maintainable

not agile

no fun

I like fun

enter

microservices

Loosely coupled service oriented architecture

with bounded contexts— Adrian Cockcroft

Loosely coupled

Services do not need to be updated at the same time

Loosely coupled

Services do not need to be updated at the same time

Bounded contexts

If you have to know too much about surrounding services than you don't have a bounded context1

1 See Eric Evans, Domain Driven Design

µ?

what did we do right?

— define contracts and stick to them

what did we do right?

— define contracts and stick to them

— documentation of API

what did we do right?

— define contracts and stick to them

— documentation of API

— no polyglot from the start

what could we have done better?

— start small

what could we have done better?

— start small

— onboarding ops

Organizations which design systems ... are constrained to

produce designs which are copies of the communication structures

of these organizations— Melvin Conway (1968)

what could we have done better?

— start small

— onboarding ops

— underestimated necessary culture change

what could we have done better?

— start small

— onboarding ops

— underestimated necessary culture change

— architectural challenges

why do it anyway?

makes sense

makes sense

— unix philosophy

makes sense

— unix philosophy

— swap services

makes sense

— unix philosophy

— swap services

— scale specific functionality

cool factor

RTFM

ITFM(f?)

Invent The Flippin' Manual2

2 https://www.youtube.com/watch?v=FArZxLj6DLk

Martin Fowler

innovation leads toproductivity and happiness

Services with the guts on the outside

— Gartner

continued growth

conclusion

microservicesare awesome

Final words3

3 https://www.youtube.com/watch?v=Wk4Gu94R9ms&t=50s

Links4

4 Essential reading/viewing:http://martinfowler.com/articles/microservices.htmlhttp://www.slideshare.net/adriancockcroft/goto-berlinhttp://blogs.gartner.com/gary-olliffe/2015/01/30/microservices-guts-on-the-outside/http://www.slideshare.net/lemiorhan/a-gentle-introduction-to-micro-services-from-theory-into-practicehttp://thenewstack.io/microservices-four-essential-checklists-getting-started/https://www.youtube.com/watch?v=Qr0sATj9IVc