Timeline for Algorithm for tracking progress of controller method running in background
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 16, 2020 at 10:01 | history | edited | CommunityBot |
Commonmark migration
|
|
| May 23, 2017 at 12:40 | history | edited | CommunityBot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Oct 26, 2013 at 15:15 | comment | added | Derk-Jan Karrenbeld | @WyattBarnett Nah, more like early-output. | |
| Aug 28, 2013 at 13:36 | comment | added | Wyatt Barnett | @MathewFoscarini : nice trick, still much more of a hack than real multi-threading and more like deferred execution. | |
| Aug 27, 2013 at 12:39 | answer | added | Reactgular | timeline score: 0 | |
| Aug 27, 2013 at 12:28 | comment | added | Reactgular |
@WyattBarnett Protip: ob_end_flush(); flush(); causes the current PHP request to continue executing while the server sends a finished response to the browser. Basically, turns the current request into a background thread. Thread management is handled by the web server it's running in. Now that's a pro tip :)
|
|
| Mar 30, 2013 at 10:36 | answer | added | Matthew Brown aka Lord Matt | timeline score: 0 | |
| Mar 22, 2013 at 15:53 | comment | added | Wyatt Barnett | Protip: this requires threads. PHP don't have threads. | |
| Mar 6, 2013 at 23:58 | audit | Suggested edits | |||
| Mar 7, 2013 at 13:36 | |||||
| Feb 20, 2013 at 11:31 | answer | added | afxdesign | timeline score: 1 | |
| Feb 20, 2013 at 9:27 | history | edited | SilentAssassin | CC BY-SA 3.0 |
Posted details to give more insights.
|
| Feb 20, 2013 at 7:55 | comment | added | SilentAssassin | @DocBrown Okay will update the question in a few with all the details. | |
| Feb 20, 2013 at 7:45 | review | First posts | |||
| Feb 20, 2013 at 7:51 | |||||
| Feb 20, 2013 at 7:44 | comment | added | Doc Brown | Do you really expect a meaningful answer if you don't post the crucial details of your controller method? Come on, outline the database extraction process (can the number of records determined beforehand? Is it done with one select or many), outline the processing (is it linearly dependent on the number of records?), and so on. Describe the steps for which you want to track progress. Once you have described them, you are probably nearer to find your own solution. | |
| Feb 20, 2013 at 7:28 | history | asked | SilentAssassin | CC BY-SA 3.0 |