System Architecture and Reliability
Which task is suited to batch processing?
- AProcessing a customer's cash withdrawal at a bank ATM
- BCollecting a day's worth of manufacturing equipment logs at night and aggregating them into a daily report on yield and other figures
- CReserving a train seat and securing it on the spot
Show answer and explanation
Answer: B. Collecting a day's worth of manufacturing equipment logs at night and aggregating them into a daily report on yield and other figures
Batch processing accumulates data for a certain period or amount and processes it all at once. It suits work that does not need to return results immediately but must process a large amount of data efficiently, such as aggregating a day's logs or calculating monthly payroll. Work that must be processed and answered immediately each time a request arrives, such as an ATM withdrawal or a seat reservation, is done by online real-time processing.
- A. Each request must be processed immediately, so this is done by online real-time processing.
- B. Correct. Accumulated data is processed together at night, which suits batch processing.
- C. The seat must be secured and the result returned on the spot, so this is done by online real-time processing.
Continue: 9 more System Architecture and Reliability questions