CQRS on Azure
-
Upload
duncan-jones -
Category
Technology
-
view
127 -
download
0
Transcript of CQRS on Azure
![Page 1: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/1.jpg)
CQRS on AzureA WORKED EXAMPLE
![Page 2: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/2.jpg)
Agenda
Overview of the technology and terms Worked example Lessons learnt Next steps Questions and resources
![Page 3: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/3.jpg)
Technology and terms
Aggregate
Something that is uniquely identifiable
Something that things happen to
Something we care about
Event
Something that happened
Projection
A way of getting state information from the events
Command
Something that causes event(s) to be recorded
Query
Something that the business or user wants to know
![Page 4: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/4.jpg)
Event Streaming
![Page 5: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/5.jpg)
Worked example
![Page 6: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/6.jpg)
Lessons learnt
Separate business logic from implementation code
Build and grow your understanding by event storming sessions
A hybrid approach is perfectly reasonable – choose the tool for the job in hand
Don’t restrict yourself – Azure allows you to scale to “truly huge”
Experiment
![Page 7: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/7.jpg)
Next steps
Analyse itApply itTry it
![Page 8: CQRS on Azure](https://reader036.fdocuments.net/reader036/viewer/2022062400/58e5198b1a28ab624e8b4d7b/html5/thumbnails/8.jpg)
Questions and resources