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

Microservices, a bittersweet symphony

Microservices, a bittersweet symphony

Code is better served in small portions. Unfortunately most of the time we build systems consisting of a monolithic application that gets bigger and scarier by the day. Everyone talks about how good microservices are, let's see if they are a good idea or not.

Presented at: wroc_love.rb 2015

Sebastian Sogamoso

March 15, 2015
Tweet

More Decks by Sebastian Sogamoso

Other Decks in Programming

Transcript

  1. “A particular way of designing software applications as sets of

    independently deployable services” Fowler & Lewis
  2. If I had the time, would I like to extract

    at least one other service from this codebase?
  3. “If you can’t build a structured monolith, what makes you

    think micro-services is the answer!?” Simon Brown
  4. You need to able to make a change to a

    service and deploy it by itself without changing anything else
  5. The key property of a component is the notion of

    independent replacement upgradeability
  6. “I strongly believe that there is a law of conservation

    of complexity in software.” Michael Feathers
  7. “When we break up big things into small pieces we

    invariably push the complexity to their interaction.” Michael Feathers
  8. PHOTOS CREDITS • Wroclaw Old Town Panorama: https://www.flickr.com/photos/lulek/ 14529759709/ •

    Car Poolers: https://www.flickr.com/photos/mujitra/8274336207 • Finding my way around the city center: https://www.flickr.com/photos/ gastaum/16191352076/ • Wroclaw Stadium: https://www.flickr.com/photos/lulek/14598337699 • Wroclaw, the station: https://www.flickr.com/photos/smif/3507659008 • Millenium Bridge: https://www.flickr.com/photos/andischmeling/ 2553801137
  9. PHOTOS CREDITS • Wroclaw Old Town: https://www.flickr.com/photos/lulek/11729694316 • Plac Grunwaldzki:

    https://www.flickr.com/photos/ 22788809@N07/4034005069 • Sunset over Old Town: https://www.flickr.com/photos/lulek/ 12346882023 • Wroclove.rb: https://www.flickr.com/photos/jandudulski/8603608067/ • Conway’s Law image, minimal requirements image: http:// martinfowler.com/articles/microservices.html