command message
A message instructing one specific handler to do something, such as charge this card.
In more detail
A command has one rightful owner and should be carried out once, which gives clear ownership and tight coupling. Commands with one owner belong on a queue.
Related terms
- event — A message stating a fact that already happened, such as order placed, for anyone who cares to react.
- message queue — A store that holds messages from producers until consumers are ready to process them, decoupling the rate of arrival from the rate of work.
Taught in
- Queues, Events And Asynchronous Work — Scalable System Design & Distributed Architecture
- The Difference Between A Queue And A Log — Scalable System Design & Distributed Architecture