Hi Will,
There are potentially many causes of end-to-end latency in a request.
During my testing I see roughly equal performance between appspot.com and
SSL on my custom domain.
Are you able to exclude DNS as a source of the increased latency (retry a
few times to ensure the host is in your systems cache)?
Is there a significant different in a straight TCP connection to each of
different addresses (see python code below)?
SSL in general can add additional latency on top of a non-SSL connection
due to the initial multiple round trips associated with the SSL handshake.
Thanks,
Cayden Meyer
Product Manager, Google App Engine
import socket
import time
def time_connect(*args, **kwargs):
sock = socket.socket()
start = time.time()
sock.connect(*args, **kwargs)
end = time.time()
print end - start, 'seconds'
time_connect(('www.appspot.com', 80))
time_connect(('ghs.googlehosted.com <http://ghs.google.com/>', 80))
On 19 July 2012 05:02, Will (Phase Industries) <[email protected]>wrote:
> Hi,
>
> *Domain Name*: www.phaseindustries.com CNAME to ghs.googlehosted.com.
> *Users Affected*: all visiting the SNI endpoint
> *Problem Description*: I am using SSL certificate on SNI - so my domain
> is being served from ::79 (.121) IP and not ::8d (.141) which I get when
> using my corresponding *.appspot.com domain - and I am getting a
> 300-400ms performance hit through this. Since I am paying for the SSL
> endpoint, I wondered if this delay was expected?
> *Steps to Reproduce*: Using Chrome, visit the site over the SNI address
> (.121) and use the network developer tool to measure latency from request
> to response. Then visit on the *.appspot.com (.141) endpoint and notice
> that there is virtually no latency.
>
> Any chance of getting an answer if this is a known issue, potentially
> something to do with the SSL cert lookup when accessing an apps domain
> through the ::79 (.121)?
>
> Does not make any difference whether accessing over IPv6 or IPv4 but
> providing v6 since that's my primary access point.
>
> Cheers
>
> Will
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/iPuqYb9HPj4J.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.