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

5 Mistakes on microservices projects that will ...

5 Mistakes on microservices projects that will fail them even before start

Let's go with microservices for everything! Microservices will solve all our problems! Long life to the microservices!

Not like this. Like in every trend, there are a lot of misunderstandings that could lead your project to a big fail. Do you really want it?

This session will show you 5 common mistakes that your must to avoid at all cost. Maybe some of them you are doing right now and don't even know it. They can happen from the project kickoff to the production deployment. If you would be able to deploy it.

Join us to learn the best practices to deal with each of these 5 mistakes and do your microservices fearless.

Elder Moraes

April 24, 2018
Tweet

More Decks by Elder Moraes

Other Decks in Technology

Transcript

  1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 5 Mistakes on microservices projects that will fail them even before start Elder Moraes Cloud Evangelist Oracle April, 2018
  2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
  3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | Mistake #1 Scaling software before scaling people 8
  4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | –  M. Conway (Conway’s Law) 9 “Organizations which design systems (…) are constrained to produce designs which are copies of the communication structure of these organizations”
  5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 10 “Two Pizzas Rule” Jeff Bezos, CEO at Amazon
  6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 11 https://martinfowler.com/articles/microservices.html
  7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 12 https://martinfowler.com/articles/microservices.html
  8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 14 https://martinfowler.com/articles/microservices.html
  9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 15 https://martinfowler.com/articles/microservices.html Database per Service Pattern
  10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 17 ACID Atomicity Consistency Isolation Durability
  11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 18 ACID Atomicity Consistency Isolation Durability Microservices
  12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 19 PRODUCT SERVICE DATABASE CART SERVICE DATABASE Transaction
  13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 21 https://www.cs.cornell.edu/andru/cs711/2002fa/reading/sagas.pdf
  14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 22 T1 T2 T3 T4 C1 C2 C3 Compensating transactions
  15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | Mistake #3 Lack of an automated pipeline 24
  16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | 26 Maturity Automation Continuous Integration Continuous Delivery Continuous Deployment
  17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | The more one service knows about other, the more coupled they are (in any aspect) 29
  18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved.

    | Mistake #5 Services not based on containers 30