sanntidsdeling av data i en api l st verden what is event
play

Sanntidsdeling av data i en API- lst verden What is event driven? - PowerPoint PPT Presentation

Sanntidsdeling av data i en API- lst verden What is event driven? Wait Signal += (event) => you say; Business TimeSeries / Discreet Truth of the system DataPoints Named intentionally Measurements Represents the domain


  1. Sanntidsdeling av data i en API- løst verden

  2. What is event driven? Wait Signal

  3. += (event) => you say; Business TimeSeries / Discreet • Truth of the system • DataPoints • Named intentionally • Measurements • Represents the domain • Consumer decides frequency language • Can be observed • Historical facts • Transient

  4. Our road has been paved with…

  5. Event Sourcing

  6. Traditional Database BankAccount Id: 123 Owner: Jane Doe Balance: $10

  7. Event Sourcing BankAccountOpened DepositPerformed OwnerChanged WithdrawalPerformed Id: 123 Id: 123 Id: 123 Id: 123 Owner: John Doe Amount: $20 NewOwner: Jane Doe Amount: $10

  8. Event Store « Historical record »

  9. Streams Account Details Account Ledger All DepositPerformed BankAccountOpened BankAccountOpened WithdrawalPerformed DepositPerformed OwnerChanged MoneyTransferred OwnerChanged WithdrawalPerformed MoneyTransferred

  10. Positioning BankAccountOpened DepositPerformed OwnerChanged WithdrawalPerformed Id: 123 Id: 123 Id: 123 Id: 123 Owner: John Doe Amount: $20 NewOwner: Jane Doe Amount: $10 Processor C Processor A Processor B Position: 0 Position: 3 Position: 1

  11. Restoring Objects BankAccountOpened Id: 123 Owner: John Doe Projects to BankAccount Id: 123 Owner: John Doe Balance: $0

  12. Restoring Objects BankAccountOpened DepositPerformed Id: 123 Id: 123 Owner: John Doe Amount: $20 Projects to BankAccount Id: 123 Owner: John Doe Balance: $20

  13. Restoring Objects BankAccountOpened DepositPerformed OwnerChanged Id: 123 Id: 123 Id: 123 Owner: John Doe Amount: $20 NewOwner: Jane Doe Projects to BankAccount Id: 123 Owner: Jane Doe Balance: $20

  14. Restoring Objects BankAccountOpened DepositPerformed OwnerChanged WithdrawalPerformed Id: 123 Id: 123 Id: 123 Id: 123 Owner: John Doe Amount: $20 NewOwner: Jane Doe Amount: $10 Projects to BankAccount Id: 123 Owner: Jane Doe Balance: $10

  15. Event Horizon

  16. Microservices Microservice A Microservice B Frontend Frontend Backend Backend Storage Storage Fabric

  17. Migrations BankAccountOpened Rename DebitBankAccountOpened { { Owner Owner } Default value Description }

  18. Private vs public Other system All BankAccountOpened DepositPerformed OwnerChanged BalanceChanged WithdrawalPerformed MoneyTransferred

  19. Event Discovery

  20. Open events - interoperability

  21. GDPR

  22. Isolating PII Event in all stream PII storage BankAccountOpened { Firstname Lastname SocialSecurityNumber }

  23. Isolating PII - streams Event in all stream PII mutable stream BankAccountOpened { Firstname Lastname SocialSecurityNumber }

  24. SDK Runtime Your Code Event Handlers Microservice B Domain Event Transaction Microservice C Source Coordinator Event Horizon Microservice D Event Store Microservice A TimeSeries Event gRPC DataPoint Connector Observer Manager Source Event Horizon Event Store Microservice E Microservice F

  25. Supert App / Portal External Application 1 Application 2 Legacy Systems Your Code Your Code Your Code SDK SDK SDK Runtime Runtime Connectors Runtime Fabric Read Event Read Read Event Event Cache Store Cache Store Cache Store Microservice A Microservice B Microservice A

  26. www.dolittle.com

Recommend


More recommend