--
You received this message because you are subscribed to a topic in the Google Groups "DDD/CQRS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dddcqrs/uKq8ui4wIKY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dddcqrs+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/dddcqrs.
For more options, visit https://groups.google.com/d/optout.
Yeah, I should note that mine is not for ETL or batch loading. It's just a way to roll up multiple commands in one transaction.
On Wed, Aug 9, 2017 at 7:24 AM, Ryan Platte <ryan....@gmail.com> wrote:
Our system (not CQRS) uses Sidekiq's batches: https://github.com/mperham/sidekiq/wiki/BatchesIt seems like a pretty solid model. I'd be happy to answer questions you may have.Ryan
On Monday, August 7, 2017 at 5:41:34 PM UTC-4, Federico G wrote:Hello,I couldn't find any examples online of command batching implementation. Can anyone please point me to some resources on the matter?I want to understand which patterns may be uses for command dispatching, validation and transaction management in batch scenarios. For example, atomic processing of the batch vs. atomic processing of each command; handling of errors; returning feedback to the user; application services design for handling command batches.Thanks!
--
You received this message because you are subscribed to a topic in the Google Groups "DDD/CQRS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dddcqrs/uKq8ui4wIKY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dddcqrs+u...@googlegroups.com.
Kasey, as I understand, you have two levels of command handlers, batch handlers and single command handlers The batch handler performs global validations, and dispatches to single command handlers. Is this correct?
1. Is the command batch just a collection of commands, or is it a complex command object of its own? (i.e.:, [new CreateCourseCommand, new RecordTrainingCommand, ..., new RecordTrainingCommand] vs a special batch command with complex attributes (course attributes + array of training attributes)
2. Do the client needs to know its building a batch of commands?
3. Do you need to have a special consideration for batch command dispatching vs individual command dispatching from the client point of view?
I suppose that the purpose of command batching is to avoid complex commands, is this correct?