Commands and Queries

Name:
What is a command?
Something a drill instructor yells
Modifies state
Should not return a value
Filters a dataset with parameters
What is a query?
An interrogation by my spouse
Modifies state
Should return a value
Answers a question
What is not an exception to the CQRS design?
Popping an item from an array
New record creation in a db
Popping a donut into my coffee
What does CQRS stand for?
Continuous Query Response System
Command Query Responsibility Separation
Chips, Queso, Ranch, Salsa
The pledge of allegiation
Which stack should not return a value?
Command
Query
Which stack could return a dataset?
Command
Query
Baconator
Which is not a variation of CQRS?
Two database
Event Sourcing
Single Database
Mode-View-Controller
What is relied upon in a two database variation?
Unit tests
Data centers with backup generators
Caffeine
Eventual consistency pattern
What is the most complex variation of CQRS?
The martin fowler margarita
Two database
Model-view view-model
Event sourcing
Single database
What is a benefit of the Event Sourcing?
Point-in-time playback
Complete audit trail
Two variations of stacks (command, query)
Fast read-only database
Production database can be rebuilt
What is not a benefit to Event Sourcing
Inconsistent across stacks
Increased complexity
Event sourcing costs
0
{"name":"Commands and Queries", "url":"https://www.quiz-maker.com/QQXN5FAST","txt":"Name:, What is a command?, What is a query?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Powered by: Quiz Maker