S
senfo
I recently read an MSDN article by Jeff Prosise titled, Scalable Apps
with Asynchronous Programming in ASP.NET
(http://msdn.microsoft.com/msdnmag/issues/07/03/WickedCode/).
In the article, Jeff discusses scaling problems that some users
experience with ASP.NET applications. The problem, Jeff writes, isn't
that ASP.NET isn't capable of scaling; but has more to do with ASP.NET
applications that use threads inefficiently. In the article, Jeff
writes, "One solution is to increase the maximum size of the thread
pool, allowing more threads to be created." He later goes on to say,
"But increasing the thread count-or the server count-doesn't solve the
issue. It just provides temporary relief to what is in reality a design
problem-not in ASP.NET itself, but in the implementation of the actual
site."
This has become the topic of debate among other developers I know who do
not see issues with raising the number of threads in the thread pool.
What would happen if, for example, somebody were to raise the number of
available threads in the pool to something like 100 threads? What about
1,000? That should provide more than ample breathing room, but does it
have an adverse affect (besides, as Jeff writes, that it only provides
temporary relief)?
Could anybody please expand on that?
Thank you in advance,
with Asynchronous Programming in ASP.NET
(http://msdn.microsoft.com/msdnmag/issues/07/03/WickedCode/).
In the article, Jeff discusses scaling problems that some users
experience with ASP.NET applications. The problem, Jeff writes, isn't
that ASP.NET isn't capable of scaling; but has more to do with ASP.NET
applications that use threads inefficiently. In the article, Jeff
writes, "One solution is to increase the maximum size of the thread
pool, allowing more threads to be created." He later goes on to say,
"But increasing the thread count-or the server count-doesn't solve the
issue. It just provides temporary relief to what is in reality a design
problem-not in ASP.NET itself, but in the implementation of the actual
site."
This has become the topic of debate among other developers I know who do
not see issues with raising the number of threads in the thread pool.
What would happen if, for example, somebody were to raise the number of
available threads in the pool to something like 100 threads? What about
1,000? That should provide more than ample breathing room, but does it
have an adverse affect (besides, as Jeff writes, that it only provides
temporary relief)?
Could anybody please expand on that?
Thank you in advance,