Skip to main content

dna-notes

  • nanoservices in global scale systems like Netflix / Amazon, why it helps?
  • edge computing

jak dzielic?

  • baunded context -- microserwis?
  • niekoniecznie, mozna miec wiecej mikroserwisow / nanoserwisow w bounded context
  • ilosc agregatow w kontekscie

async

  • SQS vs Kafka
  • Kolejka!

pub-sub:

  • SNS
  • Kafka z wieloma consumentami

CAP P - given w rozproszonych C - cosnsistency A - availability C or A? choose one!

exaclty once - w praktyce niemozliwe, trzeba stodsowac deduplikacje po stronei consumera zeby z zewnatrz wygladalo jak exactly once

saga - all or nothing

  • saga needs to be persistent
  • compensation that is idepmpotent
  • implementations: aws step functions, MassTransit

https://www.manning.com/books/microservices-stability