Batch processing and real time processing diagram