Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scalability of Duplex Polling with Silverlight / IIS

I have been building a client / server app with Silverlight, web services, and polling. Apparently I missed the whole Duplex Communication thing when I was first researching this subject. At any rate, the MSDN article I saw on the subject was promising.

When researching the scalability, it appears as if there's conflicting opinions on the subject.

silverlight.net/forums/t/89970.aspx - This thread seems to indicate that the duplex polling only supports a finite amount of concurrent clients on the server end.

dotnetaddict.dotnetdevelopersjournal.com/sl_polling_duplex.htm - This blog entry shows up in multiple places, so it muddies waters.

silverlight.net/forums/t/108396.aspx - This thread shows that I'm not the only one with this concern, but there are no answers in it.

silverlight.net/forums/t/32858.aspx - Despite all the bad press, this thread seems to have an official response saying the 10 concurrent connections is per machine.

In short, does anyone have facts / benchmarks?

Thanks :)

like image 201
JustLoren Avatar asked Feb 04 '23 10:02

JustLoren


1 Answers

This is my understanding of this, but I haven't done tests.

There is an inbuilt 10 connection limit on non-server operating systems (XP/Vista/Windows 7). On IIS 6 (XP) it will reject new connections once there are 10 in progress. On II7 (Vista/Windows 7) it will queue connections once there are 10 in progress. I think this means that 10 simultaneous connections are out.

On the server OS side (2003/2008), there is no connection limit. However, on IIS6 (2003) each long running connection will take a thread from the threadpool, so you will run into a connection limit pretty quickly. On IIS7 (2008), async threads get suspended in a way that does not use up a thread, so 1000s of connections should be possible.

like image 97
mcintyre321 Avatar answered Feb 06 '23 12:02

mcintyre321