Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bug in Max-Connection test?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
macstan  
View profile  
 More options Nov 9 2011, 1:44 pm
From: macstan <mchish...@gmail.com>
Date: Wed, 9 Nov 2011 10:44:07 -0800 (PST)
Local: Wed, Nov 9 2011 1:44 pm
Subject: Bug in Max-Connection test?
Hi All:

It seems to me that there is a problem with the Max-Connections test.
I tried it on both desktop Chrome and FF recently. This is what I
find:

You can see in the below JS code excerpt, it is GETting 2 images from
each of the five different domains but then it requests same images
from same domains again. The browser recognizes this and just loads
the images directly from its own cache. On desktop Chrome and FF, I
don’t even see conditional GETs for these images because the server is
setting max-age and expire tags well ahead in future. In both Chrome/
FF, I see a total of 10 HTTP GETs requested by the browser - that is 2
images x five domains. I don't see any subsequent GET request.

I think it is either that the code is buggy – or perhaps the server
config is screwed up [it should at least set no-store tag and hope the
browser would obey].

        // Done w/ Javascript to prevent bots from hitting our servers hard.
        var imgC = document.getElementById('img-c');
        var img = document.createElement('img');
        for (var i = 1; i <= 30; i++) {
         var addr = (i % 5) + 1; // aka number of resource-cgi backends -1
         for (var j = 1; j <=2; j++) {
          var clone = img.cloneNode(true);
          clone.id = 'img' + i + '-' + j;
          clone.onload = countImage;
          clone.src = 'http://' + addr + '.cgi.browserscope.net/cgi-bin/
resource.cgi?type=gif&' +
          'sleep=6&n=' + j + '&t=1320862013';
          imgC.appendChild(clone);
         }
        }


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lindsey Simon  
View profile  
 More options Nov 9 2011, 4:50 pm
From: Lindsey Simon <lsi...@commoner.com>
Date: Wed, 9 Nov 2011 13:50:12 -0800
Local: Wed, Nov 9 2011 4:50 pm
Subject: Re: [Browserscope] Bug in Max-Connection test?

I think there's definitely a few issues going on with this test. I'm trying
to migrate Browserscope to the High Replication datastore so we can use
python 2.7 and concurrent connections to make a better test for this one in
particular.
Thanks for the email though.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »