title: Stuttering SignalR When Using IIS
body: <p>I am using ASP .NET SignalR to create a realtime game in the browser. It seems to run fine, other than occasional stutters on the display output.</p>
  <p>I first noticed this when I deployed my application to a virtual PC in the cloud. To rule out bandwidth issues, I then deployed it to another virtual PC running locally.</p>
  <p>Even when running the application from a virtual PC locally, I still get the stutters.</p>
  <p>This issue does not happen when I run the application on local host using IIS express.</p>
  <p>This makes me think that the issue has something to do with IIS, since both the cloud virtual PC and local virtual have this in common and local host does not.</p>
  <p>After Googling I found lots of people advising to check certain settings in IIS.</p>
  <p>These websocket settings were listed as possible culprits:
  <a href="https://i.stack.imgur.com/99JTD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/99JTD.png" alt="IIS websocket settings" /></a></p>
  <p>I don’t see any issues there though.</p>
  <p>Another suggestion was to check the queue length in the advanced settings of the App Pool. Currently it is 1000. I believe that this is enough, as according to Perfmon, the number of requests received peeks at about 100 per second and sent at 80.
  <a href="https://i.stack.imgur.com/d7EN7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d7EN7.png" alt="Queue Settings IIS" /></a>
  <a href="https://i.stack.imgur.com/GKXXt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GKXXt.png" alt="Perfmon" /></a></p>
  <p>Has anyone else got any ideas?</p>
  <p>I am using SignalR for ASP .NET 2.4.1 and IIS 10</p>
  <p>Thanks</p>