in reply to XML-Parser with web application

but there is a delay in writing the file

What order of magnitude is the delay?