j0dan Posted May 27, 2011 Posted May 27, 2011 When I use a hostname instead of an IP address in the network module, there is a second or two delay before that command runs. It's as if there is a DNS delay and the ISY doesn't cache it. Is that the case, or is something else going on?
Michel Kohanim Posted May 27, 2011 Posted May 27, 2011 Hi j0dan, DNS resolution requests are not thread safe and therefore, we put a lock around it and thus the delay. So, you should see a variable amount of delay depending on what other network activity/operation ISY is currently performing. With kind regards, Michel
j0dan Posted May 27, 2011 Author Posted May 27, 2011 Hi j0dan, DNS resolution requests are not thread safe and therefore, we put a lock around it and thus the delay. So, you should see a variable amount of delay depending on what other network activity/operation ISY is currently performing. With kind regards, Michel Will DNS caching be added to future versions? It's annoying having a delay as I use it to control other devices where one would expect instant feedback.
Michel Kohanim Posted May 27, 2011 Posted May 27, 2011 j0dan, Perhaps but this will go to the core networking and quite abrasive when it comes to regression testing. What are you trying to communicate with? With kind regards, Michel
j0dan Posted July 22, 2011 Author Posted July 22, 2011 What are you trying to communicate with? Sorry for the delay in replying! I use it to add playback controls for different media devices. When it takes 2-4 seconds to pause or switch tracks you wonder if something is wrong.
Michel Kohanim Posted July 22, 2011 Posted July 22, 2011 Hello j0dan, Thank you. Please try 3.1.5 and let me know if you feel any difference. With kind regards, Michel
Recommended Posts