~/talk

Patterns of Evolution from Monolith to Microservices

Talkat HashiTalks 2022 · 2022-02-17..02-18· [microservices, distributed-systems]
links:none on file
slides:none on file

Shows step-by-step moves from monolith to event-oriented microservices: build a microservice that first uses an anti-corruption layer instead of a DB, then add a DB and an event retrofit to sync; roll traffic with canary releases via a load balancer; extract services by change frequency using the strangle pattern; add service mesh (Consul) sidecars for mTLS, routing, retries and tracing; implement API composition + parallel calls for queries; use a persistent saga orchestrator (notifications example) or choreography with a message broker; apply CQRS/event sourcing and materialized views.

AI-written summary · about

  1. 0:00Intro
  2. 0:12Sounds familiar?
  3. 1:38What is a microservice?
  4. 2:03Defining the limits of each service
  5. 2:42Requirements for using microservices
  6. 3:27Referred Domain Driven Design concepts
  7. 4:02Select a context and a use case
  8. 4:36Step 2 - Create the microservice without database
  9. 4:46Replace the database with a ACL
  10. 5:03Synchronize the monolith and microservice
  11. 5:41Canary release
  12. 6:00Redirect traffic to the microservice
  13. 6:12Increase traffic to the microservice
  14. 6:23Stop the traffic to the monolith
  15. 6:47Identify key contexts
  16. 7:09Replace the contexts one by one
  17. 7:26Let's not underestimate the cost of change
  18. 8:10A new functionality brings challenges
  19. 8:42With the scale the challenges increase
  20. 8:59In a microservice
  21. 9:21In a complete ecosystem
  22. 10:12When to use service mesh?
  23. 11:23Step 1 - Create APIs composer
  24. 11:54Step 2 - Parallelize and order calls
  25. 12:18Unavailability problem with REST
  26. 12:45Circuit breaker
  27. 13:24Step 1 - Configure the thresholds
  28. 13:54Step 2 - Define fallback response
  29. 14:24Complete the flow asynchronously
  30. 16:19Saga orchestrator
  31. 17:44Saga choreography
  32. 18:55Comparison
  33. 20:45A real example
  34. 21:46Trade offs
  35. 22:25To keep in mind . Not everything has to be microservices, it is necessary to understand the
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.