Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7129181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T11:12:57+00:00 2026-05-28T11:12:57+00:00

Looking to optimize the performance of WCF Rest services hosted on Azure. The services

  • 0

Looking to optimize the performance of WCF Rest services hosted on Azure. The services retrieve data from SQL Azure tables and in some cases Azure table storage. They are all on public endpoints.

Question – In WebRole.cs I can see that ServicePointManager.DefaultConnectionLimit is set to 2.
The instancecontext mode of all the services is PerCall. In this case would changing ServicePointManager.DefaultConnectionLimit to 12 make any difference in the performance?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T11:12:58+00:00Added an answer on May 28, 2026 at 11:12 am

    This is a complex issue, and as I understand this also partly depend on:

    • CPU physical and logical attributes
    • Process model request queue limit
    • Process model maximum IO threads
    • Maximum concurrent requests per CPU
    • Maximum concurrent threads per CPU

    I wont pretend to know much about it, I really don’t. But I’m trying to understand how it works. From what I can gather I use this setup (I give absolutely no guarantees that this is the best setup):

    RuntimeConfiguration.ProcessModelRequestQueueLimit = 5000 * Environment.ProcessorCount
    RuntimeConfiguration.ProcessModelMaxIoThreads = 100 * Environment.ProcessorCount
    HostingEnvironment.MaxConcurrentRequestsPerCPU = 5000
    HostingEnvironment.MaxConcurrentThreadsPerCPU = 0
    System.Net.ServicePointManager.DefaultConnectionLimit = Int32.MaxValue (well, I actually use only 48 here atm since it seems enough for my purpose and is much faster to start)

    This setup is mostly based on this article:

    http://blogs.msdn.com/b/tmarq/archive/2007/07/21/asp-net-thread-usage-on-iis-7-0-and-6-0.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to optimize a few tables in a database because currently under high
I am looking to optimize a process that runs continually and makes frequent calls
I'm just looking to optimize the code below. It works, but I want to
In my custom view I'm looking into using Canvas.getClipBounds() to optimize my onDraw method
I'm looking for a performance comparison between perl and boost regular expression. I need
I'm looking to optimize my application. It uses the Twitter and the Facebook API
I'm looking for a way to easily load test and benchmark some of our
Im looking to optimize our translation workflow for a django/python based project. Currently we
I'm looking into ways to squeeze performance out of a flash installation. The installation
I am working in a project which needs top performance in SQL results, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.