Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Un monolith microservice ready – Orange Dev Tes...

Un monolith microservice ready – Orange Dev Test Days 2018

Arnaud LEMAIRE

October 16, 2018
Tweet

More Decks by Arnaud LEMAIRE

Other Decks in Programming

Transcript

  1. -Simon Brown « If you can’t build a monolith, what

    makes you think micro-services are the answer ? »
  2. -Melvin Conway « organizations which design systems ... are constrained

    to produce designs which are copies of the communication structures of these organizations »
  3. We usually don’t get our models right on the first

    try. This is where having a single code base & deployment unit helps with the requested refactoring
  4. -Cyrille Dupuydauby « Years of fight against ‘DB as a

    MoM’ anti- pattern have finally paid off: I am now fighting against ‘MoM as a DB’ anti-pattern. »
  5. Exemple of an event driven orchestrated pattern : the macdonald’s

    pattern Counter Ice
 Cream Hamburgers Salads New Order
 —— 
 ——
 —— New Order
 —— 
 ——
 —— New Order
 —— 
 ——
 ——
  6. Counter Ice
 Cream Hamburgers Salads Each time we receive an

    item, we check if the order is complete New Order
 —— 
 ——
 ——
  7. Fault tolerance • Rate-limiter • Automatic retry with exponential backoff

    • Response caching • BulkHead pattern • Circuit-breaker • Load Balancing Hystrix, Resilience4j
  8. Going further • Applying the Saga Pattern • Caitie McCaffrey

    • Distributed Transactions: The Icebergs of Microservices • Graham Lea • Application Resilience Engineering & Operations at Netflix • Ben Christensen • arpinum/alexandria-api