I'm participating in a development of a php program and we are trying to improve its performance in stuff like:
Execute, finish output to the user, do scheduled stuff.
The objective here is to send information to apache, IIS, etc... Stating that the information about all is done can be sent to the browser. Because the way things work in this program, it's supposed not to cache all output, measure it and then output, it's supposed to output information as it is being processed, as soon as possible, so ob_* functions is not exactly an option.
How can I accomplish that? I can only find an option for this when using output buffering...
Note: curl is also not an option. Some servers in which this is supposed to work have it disabled. Same for the other common stuff, shell_exec(), exec(), etc...