Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Highway to heaven - Microservices Meetup Munich


Published on

Fed up with stop and go in your data center? Why not shift into overdrive and pull into the fast lane? Learn how AutoScout24 are building their Autobahn in the cloud to become the market leader in Europe's vehicle classified business.

Reinventing themselves by making a radical transition from monoliths to microservices, from .NET on Windows to Scala on Linux, from data center to AWS and from built by devs and run by ops to a devops mindset.

While the current stack keeps running, ever more microservices will go live as you listen to stories from the trenches.

Key takeaways from this talk includes: How to...
… become cloud native
… evolve the architecture
… create “you build it you run it” teams
… involve business people in the transformation

Created and presented together with Wolf Schleger (ThoughtWorks)

Published in: Technology
  • My doc said he couldn't give me all the details�� ????? "Just keep an eye out for this 'Flavor-Pairing' transformation system�� ??" Since he said that, I started seeing it everywhere ???? - I thought, maybe it's time for me to try it. BUT since this doesn't work for everybody, you can't just start immediately. In fact, you need to take a short but strangely insightful quiz before you can get started. Well, aren't I glad I followed my gut instinct and gave it a shot! Speaking of guts�� I can't believe the changes I'm seeing and neither can my husband! I'd never even heard of carb-pairing or wine-timing, but I'm so glad I did it! I guess a little faith can go a long way. Click below to see if you're "ICE Type 1" like me. ■■■
    Are you sure you want to  Yes  No
    Your message goes here
  • 1 minute a day to keep your weight away! ➤➤
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Highway to heaven - Microservices Meetup Munich

  1. 1. Highway to heaven Building microservices in the cloud Munich microservices meetup, June 2015
  2. 2. Agenda Meet AutoScout24 Shifting gears How we build our services How we organize ourselves
  3. 3. AutoScout24 - 10.000ft C
  4. 4. Baseline AutoScout24 IT Highly optimized, but of last decade IT platform supported growth for >6 years Microsoft oriented stack Enterprise IT setup - MTBF over MTTR Proven agile and lean principles C
  5. 5. From monolith to microservices... ...via swimlanes C
  6. 6. New CEO C
  7. 7. Do you attract talent? C
  8. 8. C
  9. 9. Project Tatsu W
  10. 10. Microservices AWS JVM / Linux DevOps culture Product Five challenges W
  11. 11. Shiny new cut Cut to the core Add new business value New user experience W
  12. 12. Objectives Mobile first, user centric Sophisticated user experience Reduce time to market Attract talents Reduce costs in IT production W
  13. 13. Technical transformation W
  14. 14. Change the wheels while driving W
  15. 15. Strategic Goals Goals of the business side Architectural Principles High-Level Principles Design and Delivery Principles Tactical measures Reduce Time to Market Speed, Fast Feedback Cost Transparency Collect metrics to allow decisions cost vs. value. Support Data-Driven Decisions Listen to users and validate hypothesis. Provide as many relevant metrics & data as possible. You build it, you run it Responsibility to run and maintain a product stays with the building team. Fast feedback from live and customers helps us to continuously improve. Organized around Business Capabilities Build teams around products not projects. Follow the domain and respect bounded contexts. Inverse Conway Maneuver Shared Nothing Avoid shared infrastructure and tight coupling as much as possible. Don’t create the next monolith. Macro and Micro Architecture Clear separation. Autonomous micro services within the rules and constraints of the macro architecture. AWS First Favor AWS service over managed service, over self-hosted OSS, over self-rolled solutions. Data-Driven/ Metric-Driven Collect metrics from processes and applications. Analyze, alert and act on them. Eliminate Accidental Complexity Strive to keep it simple. Focus on essential complexity. No silver bullet. Event Sourcing and Publishing Keep history of state changes and publish application events. Autonomous Teams Make fast local decisions. Be responsible. Know your boundaries. Share findings. Continuous Delivery Deliver changes reliable, often and fast. Infrastructure As Code Automate everything: Reproducible, traceable and tested. Immutable servers over snowflake servers. DevOps Culture Developers and Ops work together in collaborative teams as engineers. No silos. Be Bold Go into production early. Value monitoring over tests. Recover and learn. Optimize for MTTR not MTBF. Security & Data Privacy Security must be first class citizen and everybody’s concern. Keep data-privacy in mind. C
  16. 16. Principles Organized around business capabilities You build it, you run it Be bold Macro and micro architecture Event sourcing and publishing C
  17. 17. Event Sourcing and data pumps One way data highway Event Sourcing - store history of all changes C
  18. 18. SQS + S3 Kinesis + S3 Kinesis + DynamoDB SQS + DynamoDB Proxy + DynamoDB DynamoDB Evolution W
  19. 19. Classified Events - Overview C
  20. 20. Classified Events - Boundaries C
  21. 21. DynamoDB as the new Atom Feed Learn to be come a cloud native DynamoDB as service contract The return of the integration database? The price is right? W
  22. 22. DynamoDB as the new Atom Feed Learn to be come a cloud native DynamoDB as service contract The return of the integration database? The price is right? Event Sourcing rocks C
  23. 23. Watchlist evolution DynamoDB as JSON document store Scheduled user journey test Capacity exceeded Requests throttled Latency spikes for real users C
  24. 24. From documents to events Refactoring toward deeper insight From CRUD to sync Offline first Writes are expensive USD 20 over USD 500 C
  25. 25. How many layers to estimate a price Evolving architecture R backend and Play application Single Play application Play backend and Play web server Long feedback cycles Frequency of change W
  26. 26. Shared infrastructure Shared nothing Availability over shared nothing Convenience offerings No side effects Fast local decisions over committees W
  27. 27. Shared nothing? How many environments? Use over re-use Re-use only after hardening How to share Copy n’paste, OSS, library W
  28. 28. Unified log processing AWS EC2AWS Kinesis Event Streams Unstructured Log Stream Service A Service B System Log ELB Log Stream ELB Access Logs S3 Collector Collector Collector ElasticSearch Kibana JSON JSON JSON Collector in progress System Metrics Stream Collectd ??? AWS CloudWatch C
  29. 29. Unified log processing C Optimised for imaginary use cases? JVM metrics ... err not used Application events over log files What are the options?
  30. 30. How to build autonomous teams Do not fall back into old behaviours Beware of Mandelbrot teams Pager duty so that you run it Part-time ops not working Not all T-shapes are the same WolfCW
  31. 31. Infrastructure guild Agree on things to do Share learnings Delegate implementation to teams Empty backlog should be normal How about infrastructure product teams? Mind the Shirky Principle C
  32. 32. Team over infrastructure guild C
  33. 33. Focus sliders Product over platform platform product time W
  34. 34. Focus sliders (cont.) Cash stack meets shiny new stack One company Lights on in cash stack Feature freeze Where to build new features? Ease of integration helps business people C
  35. 35. @cdeger @wolfwolf
  36. 36. Attributions Blue sky, white-gray clouds by nature protector Natubico, [CC BY-SA 3.0] A Danish Perspective by NASA [Public domain] GREG EINRAD Amazon16 by Neil Palmer/CIAT [CC BY-SA 2.0] BERGSTEIGER Barber in Cameroon by James Emery from Douglasville, United States (Daddy Joe_1355) [CC BY 2.0] Wide objectives by Kivela (Own work) [Public domain] href=" Transformer Fire Barrier by GerryS1 (Own work) [CC BY-SA 3.0 or GFDL]
  37. 37. Attributions (cont) Alonso Renault Pitstop Chinese GP 2008 by Bert van Dijk (Pitstop F1 ING Renault) [CC BY-SA 2.0] Principle of Panchasheel by Prakash Adhikary (Own work) [CC BY 3.0] Traffic Jam by Doo Ho Kim [CC BY-SA 2.0] Pellets by The original uploader was Richard Mayer at German Wikipedia [GFDL or CC-BY-SA-3.0] Pipes and Valves by Uwe Hermann [CC BY-SA 2.0] Size variation in Coccinella undecimpunctata (2127991716) by Gilles San Martin from Namur, Belgium [CC BY-SA 2.0] Mille crêpe by Laitr Keiows (Own work) [CC BY-SA 3.0 or GFDL] Country Energy power line replacement 01 by Bidgee (Own work) [CC BY-SA 3.0]
  38. 38. Attributions (cont) Sharing Sucks (4536747557) by eyeliam from Portland, United States [CC BY 2.0] 7Line 9184 (8263568241) by Metropolitan Transportation Authority of the State of New York (7Line_9184 Uploaded by tm) [CC BY 2.0] England rugby team 1905 by Russell & Sons (The Graphic) [Public domain or Public domain] Wandergeselle by Sigismund von Dobschütz [CC BY-SA 3.0] Faber-Rechenschieber 5304 by User:Karl Gruber (Own work) [CC BY-SA 4.0] Wheel clamps Texas by Richard Anderson from Denton, United States (Boots.) [CC BY-SA 2.0] GuadalupeNOLA15Oct07Thanks by Infrogmation of New Orleans (Photo by Infrogmation) [GFDL or CC BY-SA 3.0] AtariBasic by Calin99 (Own work) [GPL]