Tuesday, November 12, 2013

Batch processing best practices


Most applications have at least one batch processing task, executing a particular logic in the background. Writing a batch job is not complicated but there are some basic rules you need to be aware of, and I am going to enumerate the ones I found to be most important.

From an input type point of view, the processing items may come through polling a processing item repository or by being pushed them into the system through a queue. The following diagram shows the three main components of a typical batch processing system:

  • the input component (loading items by polling or from an input queue) 
  • the processor: the main processing logic component 
  • the output component: the output channel or store where results will sent
Read more here

Leave a Reply

All Tech News IN © 2011 DheTemplate.com & Main Blogger .