Right, but every sane browser on the planet has moved on and increased this
limit. (Yes, *even* IE.)

Also, the HTML5 WHATWG output will produce an updated set of official
guidelines on the matter.

In the meantime, Silverlight should support 6 or 8 connections, or even
better, support the same number of connections as the hosting browser
allows.


Thanks,

Tatham Oddie
au mob: +61 414 275 989, us cell: +1 213 422 7068, skype: tathamoddie,
landline: +61 2 8011 3982, fax: +61 2 9475 5172
my business: tixi.com.au - Ticketing without the dramas

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Colin Savage
Sent: Tuesday, 23 June 2009 7:03 AM
To: [email protected]
Subject: RE: Silverlight limited to 2 simultaneous connections?

The link supplied earlier in this thread has the answer to this question, it
is part of the HTTP specification that clients shouldn't have more than 2
simultaneous connections to a single server. Since Silverlight is going to
be a good citizen, it will apply that part of the spec.

The last paragraph in
http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html#sec8.1.4 reads:
"Clients that use persistent connections SHOULD limit the number of
simultaneous connections that they maintain to a given server. A single-user
client SHOULD NOT maintain more than 2 connections with any server or proxy.
A proxy SHOULD use up to 2*N connections to another server or proxy, where N
is the number of simultaneously active users. These guidelines are intended
to improve HTTP response times and avoid congestion."

The server may be able to enforce the connection limitation too but it's
typically going to be a client setting. To get your app to use more than 2
connections you'd have to change the browser http settings (since SL uses
the browser networking). If you hunt around you can find that registry
setting for IE but what about other browsers? Most people are not going to
be hacking their browser settings to visit a site, so unless this app is
intranet only and you have control over every client, I think you're going
down the wrong road here.
 
Regards,
Colin Savage
Readify | Senior Developer

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Caleb Jenkins
Sent: Tuesday, 23 June 2009 12:26 AM
To: [email protected]
Subject: RE: Silverlight limited to 2 simultaneous connections?

I can see the page from work. Not sure why is wasn't coming up from the home
office this morning.

Looking at this under fiddler and it looks like the 6 maps are coming from
the same physical server.

http://ecn.t0.virtualearth.net
http://ecn.t1.virtualearth.net
http://ecn.t2.virtualearth.net
http://ecn.t3.virtualearth.net

On the initial load they look like they are differing by sub domains (4
different sub domains not 6), can anyone confirm that these are in fact
different enough to prevent the server to client limitation? When I do a
refresh it looks like everything is going through:

 
http://dev.virtualearth.net/webservices/v1/ImageryService/ImageeryServicesvc

Since all 6 maps are hitting the same data source service, that would engage
the server 2 simultaneous download limitation. I suggest doing an app that
truly pulls from 6 different servers to confirm a Silverlight limitation.
Example: pull a data feed from search.twitter.com, an image feed from
flickr, a map from virtual earth, a map from google etc...

Hope that helps!

Caleb Jenkins
http://developingux.com

________________________________________
From: [email protected] [[email protected]] On
Behalf Of Jordan Knight [[email protected]]
Sent: Monday, June 22, 2009 7:47 AM
To: [email protected]
Subject: RE: Silverlight limited to 2 simultaneous connections?

Sounds like we need a test app John!

Better fire up a few WebClients and see where it caps out with .IsBusy!

With Win7VPC you can of course test on every browser ever made :)

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of John OBrien
Sent: Monday, 22 June 2009 10:45 PM
To: [email protected]
Subject: RE: Silverlight limited to 2 simultaneous connections?

Thanks Nick, another handy link but it seems that even if we change the
server side settings Silverlight on the client side is restricted, example
is only requesting images not using WCF. I will do a WCF example tomorrow to
see if it is any different however.

@Caleb - that URL should be working fine, just hit it from 40 machines
around the world:
http://just-dnslookup.com/index.php?vh=soulsolutions.com.au&c=&s=dns+lookup%
21 (useful site btw)

I have scoured the web for information on this and found some very
misleading posts claiming it is the browser restricting it. An identical
AJAX version (Bing Maps, same image URLS) does not have the issue.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Hodge
Sent: Monday, 22 June 2009 10:23 PM
To: [email protected]
Subject: RE: Silverlight limited to 2 simultaneous connections?

>From the mighty Jorke:

http://blogs.msdn.com/wenlong/archive/2009/02/08/why-only-two-concurrent-req
uests-for-load-testing.aspx

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jordan Knight
> Sent: Monday, 22 June 2009 10:19 PM
> To: [email protected]
> Subject: RE: Silverlight limited to 2 simultaneous connections?
>
> So go  crazy and use a few Silverlight controls and the new instance 
> to instance comms stuff in SL3 to load a few at once :P
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of John OBrien
> Sent: Monday, 22 June 2009 9:45 PM
> To: [email protected]
> Subject: RE: Silverlight limited to 2 simultaneous connections?
>
> I think you may be onto something Jordan. The application that has 
> brought this to my attention is not server restricted but I appreciate 
> your comments Caleb, they are great general suggestions but it seems 
> that Silverlight is ignoring them.
> Take a look at:
> http://soulsolutions.com.au/silverlight/blacklight/
>
> It is rendering 6 Bing map controls inside a single Silverlight 
> application.
> The tiles are coming from 4 different domains and yet only two request 
> at a time are coming from Silverlight. I'm using IE8.
>
> The performance is horrible, you have to wait for each DeepZoom image 
> to complete before the next one starts. Fiddler confirms sets of 2 
> requests.
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Jordan Knight
> Sent: Monday, 22 June 2009 9:22 PM
> To: [email protected]
> Subject: RE: Silverlight limited to 2 simultaneous connections?
>
> I'd have thought it would be a lowest common denominator problem 
> myself...
> the crappest browser can do 2 at once so thats what Silverlight 
> supports to maintain the best compat?
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Caleb Jenkins
> Sent: Monday, 22 June 2009 9:13 PM
> To: [email protected]
> Subject: RE: Silverlight limited to 2 simultaneous connections?
>
> John - generally that's a server restriction, and something that has 
> been well documented on for IIS as well as various strategies in the 
> HTML communities have been developed to help "get around" this.
>
> For IIS its important when you are using IIS as an application / 
> middle teir / wcf server with an IIS front end web server. In that 
> scenario you still want the limitation from the front end server to 
> the clients, but you want to increase the allowed cnnection from the 
> app server to the UI server.
>
> The more general html/web strategies involve breaking you resources in 
> to various sub domains/servers. Images.domain /css/js/html can be 
> placed on various "domains" to increase your simultanious connections 
> from 2 to 8. The other strategy is to increase individual payloads and 
> decrease number of requests. This plays out by combining multiple 
> images on to a single image and the using css and css "sprite" support 
> to slice and lay out the images client side. Take a look at the 
> bing.com home page for an exaple of that.
> The "blurry" boxes are actually attached to the main image.
>
> Hope that helps! (I'm going to blame all typo's on my phone's 
> "intelli- type"
> and the complete lack of a spell check :)
>
> Caleb Jenkins
>
> [email protected]
> m: 469.867.4552 | b: developingUX.com
>
> [*] Improving - It's what we do!
> (send from Windows Mobile 6)
>
>
> ________________________________
> From: John OBrien <[email protected]>
> Sent: Monday, June 22, 2009 2:16 AM
> To: [email protected] <[email protected]>
> Subject: Silverlight limited to 2 simultaneous connections?
>
> Anyone know why Silverlight2 seems to be restricted to 2 simultaneous 
> requests only?
> I have changed the browser settings to allow 8, put in 4 different 
> domains to allow for 8 and even used firefox that supports 8 natively 
> with no luck.
>
> Is there a configuration somewhere at the plugin level to change this?
> ________________________________
> Support procedure: https://www.codify.com/lists/support
> List address:
> [email protected]<mailto:[email protected]
> >
> Subscribe:
> [email protected]<mailto:ozsilverlight-
> subscr...@ozs
> ilverlight.com>
> Unsubscribe:
> [email protected]<mailto:ozsilverlight-
> unsubscribe
> @ozsilverlight.com>
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
> ----------------------------------------------------------------------
> -
> -----
> ----
> Support procedure: https://www.codify.com/lists/support
> List address: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
> ----------------------------------------------------------------------
> -
> -----
> ----
> Support procedure: https://www.codify.com/lists/support
> List address: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
>
> ----------------------------------------------------------------------
> -
> ---------
> Support procedure: https://www.codify.com/lists/support
> List address: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>
> ----------------------------------------------------------------------
> -
> ---------
> Support procedure: https://www.codify.com/lists/support
> List address: [email protected]
> Subscribe: [email protected]
> Unsubscribe: [email protected]
> List FAQ: http://www.codify.com/lists/ozsilverlight
> Other lists you might want to join: http://www.codify.com/lists
>

----------------------------------------------------------------------------
----
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists


----------------------------------------------------------------------------
----
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

----------------------------------------------------------------------------
----
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

----------------------------------------------------------------------------
----
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

----------------------------------------------------------------------------
----
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists


--------------------------------------------------------------------------------
Support procedure: https://www.codify.com/lists/support
List address: [email protected]
Subscribe: [email protected]
Unsubscribe: [email protected]
List FAQ: http://www.codify.com/lists/ozsilverlight
Other lists you might want to join: http://www.codify.com/lists

Reply via email to