<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2987032012497124857.post5101363312988151280..comments</id><updated>2011-08-10T09:16:56.707-07:00</updated><category term='ruby'/><category term='node.js'/><category term='iisnode'/><category term='proxy'/><category term='jQuery'/><category term='whiteboard'/><category term='java'/><category term='PDC10'/><category term='debugging'/><category term='web'/><category term='development'/><category term='picasso'/><category term='gissues'/><category term='codeplex'/><category term='Windows'/><category term='IIS'/><category term='RIA'/><category term='Websockets'/><category term='HTTP'/><category term='express'/><category term='GitHub'/><category term='jsconf'/><category term='scrum'/><category term='WCF'/><category term='software'/><category term='browser'/><category term='Mac OS'/><category term='arrjs'/><category term='node-inspector'/><category term='routing'/><category term='.net'/><category term='testing'/><category term='JavaScript'/><category term='webmatrix'/><category term='c++'/><category term='management'/><category term='Silverlight'/><category term='MIX'/><title type='text'>Comments on Tomek on Software: Performance of HTTP polling duplex server-side cha...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tomasz.janczuk.org/feeds/5101363312988151280/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html'/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>21</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-6625549979966096518</id><published>2011-03-12T14:51:57.854-08:00</published><updated>2011-03-12T14:51:57.854-08:00</updated><title type='text'>Hi

Gone through your article, currently I&amp;#39;m d...</title><content type='html'>Hi&lt;br /&gt;&lt;br /&gt;Gone through your article, currently I&amp;#39;m developing a Pub/Sub architecture to my system using polling duplex in silverlight with WCF. The error which Kills me in the publish flow is&lt;br /&gt;&lt;br /&gt;&amp;quot;The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because channel got aborted.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IT will be more helpful if i get a solution for the same&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;Praveen</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/6625549979966096518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/6625549979966096518'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1299970317854#c6625549979966096518' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1104026155'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-5946209433516312649</id><published>2010-09-14T11:05:54.339-07:00</published><updated>2010-09-14T11:05:54.339-07:00</updated><title type='text'>excuse me if this is a stupid question, what the b...</title><content type='html'>excuse me if this is a stupid question, what the bottleneck is it simply hardware, so for instance Broadcast push would is max&amp;#39;d at 1400 users every 2 seconds. To increase that limit significantly would i have to look at a much better server? or load balancing, or reducing the publish frequency?(this option isnt really any good for my application)&lt;br /&gt;&lt;br /&gt;Stupid questuion no2, if i had 2 services publishing data out at every 2 seconds would I expect user limit to drop to 700 per service?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/5946209433516312649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/5946209433516312649'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1284487554339#c5946209433516312649' title=''/><author><name>lex</name><uri>http://www.blogger.com/profile/14293969827805559019</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-533570124'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2187550780508181099</id><published>2010-06-30T15:23:42.685-07:00</published><updated>2010-06-30T15:23:42.685-07:00</updated><title type='text'>QUOTE ==&amp;gt; We are planning to release a sample (...</title><content type='html'>QUOTE ==&amp;gt; We are planning to release a sample (in source code form) that demonstrates the consumption of the protocol from .NET 3.5, I will make sure to blog about it once it is available. &amp;lt;== END QUOTE&lt;br /&gt;&lt;br /&gt;I think that many people out there would like to have this sample... &lt;br /&gt;Please if you have any news let us now...&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Michael</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/2187550780508181099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/2187550780508181099'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1277936622685#c2187550780508181099' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1290765391'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3509316775596174662</id><published>2010-06-23T14:01:40.376-07:00</published><updated>2010-06-23T14:01:40.376-07:00</updated><title type='text'>QUOTE ==&amp;gt; We are planning to release a sample (...</title><content type='html'>QUOTE ==&amp;gt; We are planning to release a sample (in source code form) that demonstrates the consumption of the protocol from .NET 3.5, I will make sure to blog about it once it is available. &amp;lt;== END QUOTE&lt;br /&gt;&lt;br /&gt;Any news about that non-silverlight client sample that would support the &amp;quot;this&amp;quot; long polling duplex protocol? (not the one posted on code.msdn which is completly different)&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;Eric</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3509316775596174662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3509316775596174662'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1277326900376#c3509316775596174662' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1938363914'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7656438745939224638</id><published>2010-02-20T07:40:42.541-08:00</published><updated>2010-02-20T07:40:42.541-08:00</updated><title type='text'>Very interesting article! I read it some weeks ago...</title><content type='html'>Very interesting article! I read it some weeks ago and the performance you showed here shows that this technique will be enough for our needs. Unfortunately, when we developed a test to see if everything performed good enough we ran into some issues. I would really appreciate if you could give me some hints of what can be wrong.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve developed a SL3-client that uses pollingduplex to connect to a service. The SL-client is the subscribing client. We also have a publishing client that connects to the service using netTCP binding (over internet). The service is hosted on a VPS with WS2008R2 and IIS7.&lt;br /&gt;&lt;br /&gt;The problem is really poor performance! We have tried the service with 30 - 40 clients and it more or less stops responding when trying to connect with more clients. Not stops completely but it&amp;#39;s really slow. The task manager on the server shows that the &amp;#39;IIS worker process&amp;#39; (w3wp.exe) takes up 100% CPU usage. &lt;br /&gt;&lt;br /&gt;The strange thing is that this is caused only by connecting the clients to the service. No publishing occurs. &lt;br /&gt;&lt;br /&gt;We&amp;#39;re running the service configured with &amp;#39;InstanceContextMode.PerCall&amp;#39; and &amp;#39;ConcurrencyMode.Single&amp;#39;. We&amp;#39;re using throttling as well.&lt;br /&gt;&lt;br /&gt;Do you have any idea what might cause this poor performance?&lt;br /&gt;&lt;br /&gt;Another question: In your example you&amp;#39;ve configured the service with &amp;#39;InstanceContextMode.Single&amp;#39; and &amp;#39;ConcurrencyMode.Multiple&amp;#39;. Why would it be better from performance point of view to run the service as a singleton instead of as PerCall?&lt;br /&gt;&lt;br /&gt;Thanks!&lt;br /&gt;&lt;br /&gt;/Kristian</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7656438745939224638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7656438745939224638'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1266680442541#c7656438745939224638' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2044349266'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-6680396718491947635</id><published>2010-01-04T20:20:13.746-08:00</published><updated>2010-01-04T20:20:13.746-08:00</updated><title type='text'>Unfortunately the .NET 3.5 version of the client s...</title><content type='html'>Unfortunately the .NET 3.5 version of the client side protocol is currently not available publicly. We are planning to release a sample (in source code form) that demonstrates the consumption of the protocol from .NET 3.5, I will make sure to blog about it once it is available.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/6680396718491947635'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/6680396718491947635'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1262665213746#c6680396718491947635' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='27' height='32' src='http://2.bp.blogspot.com/_NUp_nWDyyvI/S0E4LaVBrmI/AAAAAAAABQ4/qtgB80y4O38/S220/D70-100-3785.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7825608266875516580</id><published>2010-01-04T11:23:39.105-08:00</published><updated>2010-01-04T11:23:39.105-08:00</updated><title type='text'>Thanks for your response. Is there anyway I can ge...</title><content type='html'>Thanks for your response. Is there anyway I can get ahold of this testing code?&lt;br /&gt;&lt;br /&gt;Adam</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7825608266875516580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7825608266875516580'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1262633019105#c7825608266875516580' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1685821775'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3368583929322077532</id><published>2010-01-01T22:38:15.887-08:00</published><updated>2010-01-01T22:38:15.887-08:00</updated><title type='text'>You are right, we did not use Silverlight on the c...</title><content type='html'>You are right, we did not use Silverlight on the client to measure server side performance. We have compiled a .NET 3.5 version of the client side of the polling duplex protocol. While doing so, we have turned off the optimization whereby the client will only issue a single poll at a time per scheme/host/port combination at the scope of an AppDomain. (The goal of this optimization in the first place is to reduce the impact of the polling duplex protocol on the connection limit imposed by virtually all common browsers). This allowed us to simulate thousands of Silverlight clients using a single .NET 3.5 process running on a single machine. We then scaled the number of clients to reach saturation point on the server.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3368583929322077532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3368583929322077532'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1262414295887#c3368583929322077532' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-1503177776018647050</id><published>2010-01-01T20:05:21.185-08:00</published><updated>2010-01-01T20:05:21.185-08:00</updated><title type='text'>I&amp;#39;m curious as to how you obtained these numbe...</title><content type='html'>I&amp;#39;m curious as to how you obtained these numbers? How did you write the test client (clearly not silverlight) and get it to use the pollingduplex binding?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/1503177776018647050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/1503177776018647050'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1262405121185#c1503177776018647050' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1428841989'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3974881931244312040</id><published>2009-09-04T09:39:19.880-07:00</published><updated>2009-09-04T09:39:19.880-07:00</updated><title type='text'>I don&amp;#39;t recommend enabling WCF binary encoding...</title><content type='html'>I don&amp;#39;t recommend enabling WCF binary encoding if you already opt into dynamic compression in IIS. The latter is a high-cost high-yield solution. Binary encoding in addition to IIS compression will yield marginal improvements in terms of bandwidth savings. Have you checked your numbers with IIS compression alone and text encoding? You can find some considerations for enabling dynamic IIS compression at http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/25d2170b-09c0-45fd-8da4-898cf9a7d568.mspx?mfr=true.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3974881931244312040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3974881931244312040'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1252082359880#c3974881931244312040' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4513289234377267652</id><published>2009-09-04T01:30:04.365-07:00</published><updated>2009-09-04T01:30:04.365-07:00</updated><title type='text'>Regarding compression above, I meant compression +...</title><content type='html'>Regarding compression above, I meant compression + binary, as im seeing 5000 row datagrid with binary only, is 5mb and 20 sec to download/render but when i enable binary + compression, the same 5000 row report, is 300k and 3 second to render. Is there any reason we should not enable it for low users but large reports?&lt;br /&gt;slyi</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4513289234377267652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4513289234377267652'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1252053004365#c4513289234377267652' title=''/><author><name>slyi</name><uri>http://wpf-e.spaces.live.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-494474802'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4650494463901586526</id><published>2009-09-03T16:28:38.008-07:00</published><updated>2009-09-03T16:28:38.008-07:00</updated><title type='text'>Regarding the limit of the number of clients that ...</title><content type='html'>Regarding the limit of the number of clients that could be connected to the pub/sub service from the sample, this is a client side issue, not a server side limitation (assuming you have bumped up the MaxConcurrentSessions correctly). You can validate this by opening additional browser windows from a different client machine, or using a different browser brand from the same machine (e.g. IE and Chrome). Which version of IE are you using?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4650494463901586526'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4650494463901586526'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1252020518008#c4650494463901586526' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-4583978835410591050</id><published>2009-09-03T16:26:09.630-07:00</published><updated>2009-09-03T16:26:09.630-07:00</updated><title type='text'>You should measure the effect of dynamic content c...</title><content type='html'>You should measure the effect of dynamic content compression vs. binary encoding in WCF in your particular scenario, but as a rule of thumb dynamic content compression will yield substantially smaller payload sizes than WCF&amp;#39;s binary encoding at the cost of substantially higher CPU utilization.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4583978835410591050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/4583978835410591050'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1252020369630#c4583978835410591050' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-7426174191244040832</id><published>2009-09-03T07:15:34.068-07:00</published><updated>2009-09-03T07:15:34.068-07:00</updated><title type='text'>Would you recommend adding compression
&amp;quot;enabl...</title><content type='html'>Would you recommend adding compression&lt;br /&gt;&amp;quot;enable dynamic content compression&amp;quot; and in ApplicationHost.config adding &amp;lt;add mimeType=&amp;quot;application/soap+msbin1&amp;quot; enabled=&amp;quot;true&amp;quot; /&amp;gt;?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7426174191244040832'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/7426174191244040832'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1251987334068#c7426174191244040832' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-216238123'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-9203919913654680482</id><published>2009-09-03T06:56:33.738-07:00</published><updated>2009-09-03T06:56:33.738-07:00</updated><title type='text'>Hi im also check this with create an service objec...</title><content type='html'>Hi im also check this with create an service object in a loop. on 11th count the service object failed to create.it give an communication exception.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/9203919913654680482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/9203919913654680482'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1251986193738#c9203919913654680482' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-279495508'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-5450804674079270056</id><published>2009-09-03T06:39:16.530-07:00</published><updated>2009-09-03T06:39:16.530-07:00</updated><title type='text'>i have allready set these settings. I m check this...</title><content type='html'>i have allready set these settings. I m check this open more than 10 ie windows and on 11th it not work.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/5450804674079270056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/5450804674079270056'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1251985156530#c5450804674079270056' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-279495508'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3822594093981610007</id><published>2009-09-02T09:40:24.174-07:00</published><updated>2009-09-02T09:40:24.174-07:00</updated><title type='text'>It looks like you may be affected by the ServiceTh...</title><content type='html'>It looks like you may be affected by the ServiceThrottlingBehavior.MaxConcurrentSessions throttle, default value of which is 10. One of the configuration changes described in this blog suggests to increase the throttle using the respective configuration setting:&lt;br /&gt;&lt;br /&gt;&amp;lt;serviceThrottling maxConcurrentSessions=&amp;quot;2147483647&amp;quot;/&amp;gt;&lt;br /&gt;&lt;br /&gt;Have you applied this change to your service?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3822594093981610007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3822594093981610007'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1251909624174#c3822594093981610007' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-2572137160177398638</id><published>2009-09-02T01:34:53.734-07:00</published><updated>2009-09-02T01:34:53.734-07:00</updated><title type='text'>Hi Tomas, I have try your application(pubsub) on s...</title><content type='html'>Hi Tomas, I have try your application(pubsub) on server 2008, 4gb ram, iis7 with change you describe in your blocg,  but it open only 10 clinet. on 11th it not work. please provide me the solution what we do for solve this problem. Thnaks</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/2572137160177398638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/2572137160177398638'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1251880493734#c2572137160177398638' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-977607445'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-8663888162052620548</id><published>2009-08-19T15:43:47.679-07:00</published><updated>2009-08-19T15:43:47.679-07:00</updated><title type='text'>The broadcast scenario assumes existence of a sing...</title><content type='html'>The broadcast scenario assumes existence of a single topic (e.g. stock quote) all clients are subscribed to. The number of subscribers in the broadcast scenario is to be understood as the total number of clients connected to the server simultaneously, which require simultaneus notifications. Please note however that from the perspective of the polling duplex protocol, the content of the notifications sent to clients is less important than number of clients and notification frequency - the messages themselves may be identical or they may differ (assuming they remain within a size ballpark of course). One could model the multiple ticker subscriptions using separate topics (in the pub/sub sense) for every ticker. One also could model this scenario using a single topic per unique combination of stock tickers. The latter approach would most likely perform better with the polling duplex protocol, as it requires fewer notifications to be sent to every client (at most as many as there are clients).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/8663888162052620548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/8663888162052620548'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1250721827679#c8663888162052620548' title=''/><author><name>Tomasz Janczuk</name><uri>http://www.blogger.com/profile/14273379892104866795</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_NUp_nWDyyvI/Scnah5sYCaI/AAAAAAAAAgk/dg4PzNg6qoE/S220/D70-100-1406.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-998066009'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3414409405901180718</id><published>2009-08-19T14:57:57.185-07:00</published><updated>2009-08-19T14:57:57.185-07:00</updated><title type='text'>When you calculate the number of clients in the br...</title><content type='html'>When you calculate the number of clients in the broadcast scenario, is that per value subscribed to or per user.  For the stock price example you give, for example, a user would likely be subscribed to changes in a portfolio of stocks (20 or so) not just 1.  So if you have 1,000 users then there would be 20,000 price subscriptions.  Is there a way to group all 20 subscriptions into just 1 per client to increase server capacity?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3414409405901180718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3414409405901180718'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1250719077185#c3414409405901180718' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1611932970'/></entry><entry><id>tag:blogger.com,1999:blog-2987032012497124857.post-3192523663913614551</id><published>2009-08-19T11:15:04.824-07:00</published><updated>2009-08-19T11:15:04.824-07:00</updated><title type='text'>Very good article.  Thank you for writing.  This p...</title><content type='html'>Very good article.  Thank you for writing.  This provides some good evidence about the suitability of full duplex in several scenarios.  This question comes up often when talking about Silverlight client-server models but it is hard to answer well without having the numbers to back it up.  Based upon these figured it seems as though a pub/sub architecture would actually be viable for some applications, which was not what I expected.  Pessimistically I had assumed that the performance hit would be too great.  However, 1000+ simultaneously connected users is a large threshold for most simple web applications.&lt;br /&gt;&lt;br /&gt;Thanks!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3192523663913614551'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2987032012497124857/5101363312988151280/comments/default/3192523663913614551'/><link rel='alternate' type='text/html' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html?showComment=1250705704824#c3192523663913614551' title=''/><author><name>Stu Thompson</name><uri>http://stuartthompson.pip.verisignlabs.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/openid16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://tomasz.janczuk.org/2009/08/performance-of-http-polling-duplex.html' ref='tag:blogger.com,1999:blog-2987032012497124857.post-5101363312988151280' source='http://www.blogger.com/feeds/2987032012497124857/posts/default/5101363312988151280' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-217964853'/></entry></feed>
