Architektura
Event Sourcing
Stan odtwarzany z niezmiennej sekwencji zdarzeń zamiast nadpisywania rekordów.
Artykuł
Event sourcing: zapisuj fakty, a nie tylko ostatni stan
Stan jako ciąg niezmiennych zdarzeń: strumienie, odtwarzanie przez fold, optymistyczna współbieżność, projekcje, migawki i wersjonowanie zdarzeń. Agregat i magazyn zdarzeń w C# (Marten), TypeScript, Javie, Go i Pythonie.
Powiązane artykuły
- CQRS: osobny model do zmieniania, osobny do czytania
Command Query Responsibility Segregation bez przesady: od CQS Bertranda Meyera, przez trzy poziomy CQRS, po projekcje i spójność ostateczną. Komendy, zapytania i projekcje w C#, TypeScript, Javie,…
- Architektura sterowana zdarzeniami: kto publikuje, kto słucha i co może pójść nie tak
Event-driven architecture w praktyce: cztery znaczenia „zdarzeń” według Fowlera, choreografia i orkiestracja, gwarancje dostarczenia, outbox, idempotentni konsumenci, kolejność i kontrakty. Kod w…
Zadania
Materiały wokół tematu
- Microservices Pattern: Pattern: Event sourcing article · web · Chris Richardson (microservices.io)
- Wprowadzenie do Event Sourcing z Oskarem Dudyczem podcast · apple-podcasts · Patoarchitekci
- Greg Young - CQRS and Event Sourcing - Code on the Beach 2014 video · youtube · Code on the Beach
- The LMAX Architecture article · web · Martin Fowler
- oskardudycz/EventSourcing.NetCore repo · github · oskardudycz
- JasperFx/marten repo · github · JasperFx
- Event Sourcing using Cratis with Einar Ingebrigsten podcast · apple-podcasts · .NET Rocks!
- Event Sourcing Design Pattern podcast · apple-podcasts · Talk Python To Me
- Event Sourcing with Hannes Lowette podcast · apple-podcasts · .NET Rocks!
- Event Sourcing is Hard article · web · chriskiehl.com
- Event Sourcing Example & Explained in plain English video · youtube · CodeOpinion
- Projections in Event Sourcing: Build ANY model you want! video · youtube · CodeOpinion
- Datomic: Event Sourcing without the hassle article · web · vvvvalvalval.github.io
- Event Sourcing in 1 Hour with Marten in .NET video · youtube · CodeOpinion
- Event Sourcing: Rehydrating Aggregates with Snapshots video · youtube · CodeOpinion
- Kafka, GDPR and Event Sourcing article · web · Daniel Lebrero Berna
- Event Sourcing do's and don'ts video · youtube · CodeOpinion
- Event Sourcing (2017) article · web · arkwright.github.io
- Don't Let the Internet Dupe You, that's NOT Event Sourcing video · youtube · CodeOpinion
- Mistakes made adopting event sourcing (and how we recovered) - Nat Pryce - DDD Europe 2020 video · youtube · Domain-Driven Design Europe
- Event Sourcing: A New Dimension in Software Design presentation · web · Vladik Khononov
- Introduction to Event Sourcing ...and cqrs presentation · web · Vladik Khononov
- Microservice Patterns and Best Practices: Explore patterns like CQRS and event sourcing to create scalable, maintainable, and testable microservices book · openlibrary · Vinicius Feitosa Pacheco
- mizrael/SuperSafeBank repo · github · mizrael
- oskardudycz/EventSourcing.NodeJS repo · github · oskardudycz
- Extreme DDD Modelling Patterns presentation · web · Alberto Brandolini
- The Dark Side of Events (EDA) presentation · web · Vladik Khononov