Example 4 – batch operations

When performing batch operations, traditionally, the service is sent as a list of operations to one target and they are executed sequentially by that one system. This can mean that operations can take a long time to complete. If we are able to execute any of the batch operations in parallel, then we can slice up any batch operation and send each command to be executed as a separate message in the message queue. A number of backend systems can then be spun up and thereby can execute these operations in parallel, thus improving performance and completing the batch job in an exponentially shorter time.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset