Help design a program - multithread?
I am asked to write a program for a PSP (Payment Service Provider). They gave some organizations a barcode readers, in order to read a utility bill. Then, they upload a batch file contains bill data. Then, they pay total amount of bill fees with just one transaction.
But the utility organization needs a separate payment for each bill. This means if you have 200 records in a batch file which has been paid by one payment, a system must pays all of bills separately, to get 200 separate trace number from bank.
Because this bill payment system are separated from the payment server, then bill server application must make payment via calling a web service on the payment server. Payment must be done through idle time of CPU and network traffic.
How can we achieve this goal (paying bills at the CPU idle time and network traffic)?
Another approach will be paying bills simultaneously, as the bill server is a quad core CPU running SuSE Linux Enterprise Server (SLES 10), which I think we can use it via a multi threading software. Am I right? Does developing a multi thread application help us?
Is there any other idea about this?