3. Starting Long Server PHP Scripts and Monitor their Status Part 3: Running Multiple Parallel Tasks
Posted on: 2015-10-05
In the previous parts of this article it was presented a solution to run a task on the server that could take a long time to complete and still be able to monitor its progress. However it was limited to running one task at a time.
Read this article to learn how to run multiple long tasks on the server in parallel taking the most of the available server resources. You can also watch a video of the example solution in action.
More ... Post a comment See comments (0) Trackbacks (0)
Read this article to learn how to run multiple long tasks on the server in parallel taking the most of the available server resources. You can also watch a video of the example solution in action.
More ... Post a comment See comments (0) Trackbacks (0)
2. Starting Long Server PHP Scripts and Monitor their Status Part 2: Solving the Problem with Classes
Posted on: 2015-09-28
In the first part of this article we have presented a solution to start tasks from PHP that take a long time to finish.
Read this article to learn how to implement the solution with the PHP class package named "Asynchronous Long Server Tasks".
More ... Post a comment See comments (4) Trackbacks (0)
Read this article to learn how to implement the solution with the PHP class package named "Asynchronous Long Server Tasks".
More ... Post a comment See comments (4) Trackbacks (0)
1. Starting Long Server PHP Scripts and Monitor their Status Part 1: The Theory
Posted on: 2015-09-22
Typical HTTP requests take no more than a few seconds. By default PHP limits script execution to 30 seconds. However, sometimes you need to execute tasks that much longer.
Read this article to learn how to start long tasks without making the user wait and still give progress information of a long task running on the server side.
More ... Post a comment See comments (4) Trackbacks (0)
Read this article to learn how to start long tasks without making the user wait and still give progress information of a long task running on the server side.
More ... Post a comment See comments (4) Trackbacks (0)