We have an application that creates a folder with files on a remote machine, and a python script that looks for this folders from a local machine using its full UNC name and responds accordingly (for example, the script looks for the folder
\\remote-host\D$\our_cool_application_output_folder from a local host).
There is a significant delay (around 5 seconds) from the actual appearance of this folder on the remote machine until the script can see it. It hurts the performance of our application. During the delay the script attempts to repeatedly access this folder (4 times per second) until it succeeds.
Is there any way to allow the local machine see the remote folder more quickly? Is there a way to reduce this "update time" to a few milliseconds?