in reply to Re: Re: Watching long processes through HTTP
in thread Watching long processes through HTTP
What's confusing about your diagram is what you mean by "redirect" in #2. If you are doing a standard HTTP redirect, the browser will simply load the other page immediately, not wait until it finishes. Maybe you are actually doing an internal fetch of some kind with LWP or an internal redirect?
The forking approach that merlyn described is a bit more complex, but better for scalability. The reason is that your approach will tie up an apache child process during the generation of the slow page, while the forking approach forks off the worker process and leaves the apache child free to handle more web requests.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Watching long processes through HTTP
by nite_man (Deacon) on Apr 23, 2004 at 06:59 UTC |