RFF Terrible Performance - Tech Note

marcr1230

Well-known
Local time
2:26 AM
Joined
Jul 29, 2008
Messages
1,379
I've been seeing terrible performance lately on RFF and I've been playing around for the last hour testing the site.

the testing was using the "wget" command, which is equivalent to typing http://rangefinderforum.com in your browser

I've confirmed that there is a serious problem in serving up specific image files.

a couple files consistently take up to 5 seconds to retrieve

the total time to get the main page and images is 15secs
with images removed it is 2 secs. the main page contains about 39/40 separate parts

there are 2-3 files which consistently take unusually log to retrieve. The problem does not seem to be the files themselves, because when retrieved individually, they return quickly

Also note that consistently one file which has a 4-5 sec response time is http://www.rangefinderforum.com/logo/gordyscamerastraps.jpg

when I single out this file and request it directly - it returns quickly

note that this file is the 20th file requested - it's possible that the http server has a connection limit and needs a few secs to close the sockets before accepting new connections

on this theory, I tried requesting the file 40 times in a row, and it definitely stalls on around the 20th request

repeat get test:

for i in {0..40} ; do wget -p http://www.rangefinderforum.com/logos/gordyscamerastraps.jpg; done;

initial 15 Sec get of www.rangefinerforum.com:

Marcs-2011-MB-Pro:test marc$ date;wget --debug --verbose -o out -p http://www.rangefinderforum.com ; date
Sun Jun 12 12:46:53 CDT 2011
Setting --verbose (verbose) to 1
Setting --output-file (logfile) to out
Setting --page-requisites (pagerequisites) to 1
Sun Jun 12 12:47:08 CDT 2011

log of slow response from full test:


--2011-06-12 12:46:57
-- http://www.rangefinderforum.com/logos/gordyscamerastraps.jpg
Found www.rangefinderforum.com in host_name_addresses_map (0x100301570)
Connecting to www.rangefinderforum.com|64.38.3.147|:80... connected.
Created socket 4.
Releasing 0x0000000100301570 (new refcount 1).

---request begin---
GET /logos/gordyscamerastraps.jpg HTTP/1.0^M
Referer: http://www.rangefinderforum.com/^M
User-Agent: Wget/1.12 (darwin10.3.0)^M
Accept: */*^M
Host: www.rangefinderforum.com^M
Connection: Keep-Alive^M
Cookie: bblastactivity=0; bblastvisit=1307900795^M
^M
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK^M
Date: Sun, 12 Jun 2011 17:46:43 GMT^M
Server: Apache/2.2.3 (CentOS)^M
Last-Modified: Tue, 17 May 2011 03:06:28 GMT^M
ETag: "2698044-eac-edef500"^M
Accept-Ranges: bytes^M
Content-Length: 3756^M
Connection: close^M
Content-Type: image/jpeg^M
^M
---response end---
200 OK
Length: 3756 (3.7K) [image/jpeg]
Saving to: `www.rangefinderforum.com/logos/gordyscamerastraps.jpg'

0K ... 100% 715K=0.005s

Closed fd 4
2011-06-12 12:47:01 (715 KB/s) - `www.rangefinderforum.com/logos/gordyscamerastraps.jpg' saved [3756/3756]
 
Back
Top Bottom