Hey,
I looked through the forums and didn't find anything regarding this...
I plan on using multiple instances and servers with SF Pro 1.5.x and am finding that when I configure an instance with an IP in the config.xml and in my .html file it responds about 40 - 60 seconds faster than if I use a domain name eg. play.domainname.com . They both work, it's just that I find severe latency when using a domain name. Is there something that I'm missing or any suggestions?
I'm using Linux (CentOS 5)
latency when using domain name instead of IP
-
ChaseDoggy
- Posts: 8
- Joined: 20 Jun 2007, 16:11
Is just depends on the DNS query response.
Each time a client application (a browser, the flash player etc...) needs to connect to a certain domain it can do it in 2 different ways: numeric IP or domain name.
If you use the former the OS will perform a DNS query to retrieve the IP address of the requested domain. This of course will add some lag as you send a request to the DNS and wait a response from it.
Each time a client application (a browser, the flash player etc...) needs to connect to a certain domain it can do it in 2 different ways: numeric IP or domain name.
If you use the former the OS will perform a DNS query to retrieve the IP address of the requested domain. This of course will add some lag as you send a request to the DNS and wait a response from it.