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

How to Prevent Building a Serverless Monolith

Marc Duiker
November 24, 2021

How to Prevent Building a Serverless Monolith

Slides for the presentation I gave for the ForDevs Community meetup: https://www.meetup.com/ForDevs/events/282118154/
https://www.youtube.com/watch?v=_gBrWFbdy6Y

Marc Duiker

November 24, 2021
Tweet

More Decks by Marc Duiker

Other Decks in Technology

Transcript

  1. @MarcDuiker 25 Caused by the nature of the (business) problem.

    Can’t be easily reduced. Caused by decisions we make related to architecture, frameworks, packages, code style etc. Can be reduced. https://en.wikipedia.org/wiki/Programming_complexity
  2. @MarcDuiker 26 https://en.wikipedia.org/wiki/Programming_complexity Caused by decisions we make related to

    architecture, frameworks, packages, code style etc. Can be reduced. Caused by the nature of the (business) problem. Can’t be easily reduced.
  3. @MarcDuiker 37 Domain Bounded Context Bounded Context Bounded Context Bounded

    Context https://thedomaindrivendesign.io/bounded-context/
  4. @MarcDuiker “Ubiquitous language identifies the terms and concepts within a

    bounded context that are unambiguous and agreed upon by all stakeholders.” https://thedomaindrivendesign.io/what-is-strategic-design
  5. @MarcDuiker 47 Fan out Fan out No fan out No

    fan out https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#scale Use dedicated resource to its fullest
  6. @MarcDuiker 48 Fan out Fan out No fan out No

    fan out https://docs.microsoft.com/en-us/azure/azure-functions/functions-scale#scale Use higher tier / sku Use regular tier / sku
  7. @MarcDuiker 49 Ask yourself these questions before adding any code:

    - Do *I* need to write this? - Is this a good fit with the rest of the app? - What is the impact regarding resilience/complexity of the app?