r3delmasry
New Member
I have a list of data that needs to be processed. The way it works right now is this:
- A user clicks a process button.
- The PHP code takes the first item that needs to be processed, takes 15-25 secs to process it, moves on to the next item, and so on.
- The user clicks the process button.
- A PHP script takes the first item and starts to process it.
- Simultaneously another instance of the script takes the next item and processes it.
- And so on, so around 5-6 of the items are being process simultaneously and we get 6 items processed in 15-25 secs instead of just one.