Anything I can do to improve response time?

zombie

Member
Occasionally, I'll notice the odd page on my site takes an extra bit to load. There is caching on the most intensive queries already, databases optimized, thumbnails for large images, etc. One visit, the page loads ultra fast; next visit (to the same page) there's a bit of a lag.

HTTPS seems to lag the most, and that is consistent (https doesn't lag on other sites I visit).

I've been doing periodic tracert and most hops appear to be between 60-100, that seems a little high. (Shouldn't a "good" hop be below 60?)
tracert [mysite].com

Tracing route to [mysite].com [67.222.x.x]
over a maximum of 30 hops:

1 249 ms <1 ms <1 ms 192.168.0.1
2 9 ms 9 ms 8 ms 7.10.56.1
3 14 ms 10 ms 11 ms 69.63.242.65
4 13 ms 22 ms 23 ms 64.71.241.93
5 29 ms 28 ms 30 ms 69.63.248.42
6 29 ms 29 ms 26 ms xe-0-1-0.er2.iad10.us.above.net [64.124.196.213]
7 55 ms 32 ms 166 ms xe-5-1-0.cr2.dca2.us.above.net [64.125.29.77]
8 116 ms 125 ms 155 ms xe-0-2-0.cr2.iah1.us.above.net [64.125.28.50]
9 133 ms 73 ms 73 ms xe-2-3-0.cr2.dfw2.us.above.net [64.125.31.121]
10 72 ms 71 ms 70 ms xe-7-2-0.er2.dfw2.us.above.net [64.125.30.93]
11 69 ms 73 ms 71 ms 64.124.196.226.t00876-01.above.net [64.124.196.226]
12 69 ms 72 ms 69 ms 72.249.129.125
13 72 ms 72 ms 69 ms vz39-tx.privatesystems.net [72.249.97.39]
14 72 ms 71 ms 72 ms [mysite].com [67.222.x.x]

Trace complete.

The vast majority of time, the non-https pages are pretty darn quick. I would just like to know if there's anything I can do at VPS-level to make it as absolutely quick as possible. Check for possible misconfigurations, etc.

Any suggestions?
 
I had noticed this after I first moved here it seemed to settle down after a few weeks.

Dave G
 
Did you have to do anything?

Wonder if there's some sort of cache Knownhost uses. I noticed the nameserver IPs are theirs in the nameserver resolver. If so, I would suspect there's some sort of caching going on. Would be neat to hear from KH whether that is the case or not.
 
Did you have to do anything?

Wonder if there's some sort of cache Knownhost uses. I noticed the nameserver IPs are theirs in the nameserver resolver. If so, I would suspect there's some sort of caching going on. Would be neat to hear from KH whether that is the case or not.

Caching of DNS would have nothing to do with this.

Can you let me know if things are performing better now?
 
No there's still a slight intermittent delay.

When I say slight I mean it's slight, it's not something the average user would notice; but I do because I'm on the site for the better part of my day.
And of course, every millisecond helps. ;)

Updated tracert:
Tracing route to [mysite].com [67.222.x.x]
over a maximum of 30 hops:

1 18 ms <1 ms <1 ms 192.168.0.1
2 8 ms 9 ms 9 ms 7.10.56.1
3 11 ms 10 ms 11 ms 69.63.242.65
4 14 ms 10 ms 12 ms 69.63.252.213
5 12 ms 11 ms 15 ms 24.156.157.77
6 28 ms 27 ms 29 ms 64.71.240.110
7 27 ms 27 ms 27 ms xe-2-0-0.er1.lga5.us.above.net [64.124.128.193]
8 27 ms 28 ms 26 ms xe-1-1-0.cr1.lga5.us.above.net [64.125.26.161]
9 27 ms 25 ms 32 ms xe-4-3-0.cr2.lga5.us.above.net [64.125.22.170]
10 54 ms 49 ms 48 ms xe-3-0-0.cr2.ord2.us.above.net [64.125.31.74]
11 75 ms 74 ms 75 ms xe-2-0-0.cr2.dfw2.us.above.net [64.125.25.138]
12 75 ms 75 ms 74 ms xe-0-1-0.er2.dfw2.us.above.net [64.125.27.82]
13 75 ms 74 ms 75 ms 64.124.196.226.t00876-01.above.net [64.124.196.2
26]
14 75 ms 75 ms 75 ms 72.249.129.125
15 76 ms 77 ms 74 ms vz39-tx.privatesystems.net [72.249.97.39]
16 76 ms 76 ms 75 ms [mysite].com [67.222.x.x]

Trace complete.
 
That's a much more stable traceroute for sure. That's very reasonable actually.

At this I think physics are what's limiting you.
 
Alright, so should I chalk this up as network congestion, perhaps? (The shoddier tracert from earlier)
 
Top