multithreading - WCf server busy threads single-core -


I am trying to set up a service and I am getting the following error

HTTP The service is very busy at the location.

This is a very troubling problem that I want to be able to fix.

I'm not overloading the system, but I am using threads in my program. Maybe I should disable them? No?

I am running an old computer 2003 server. My laptop is a dual processor so I do not run any problems there. Does anyone have any experience in dealing with this?

How are you using threads if you are using them incorrectly? Can easily get in your way.

The simple way to use the thread is to close a new thread on every request with just the new thread (). Start. This will kill your performance, and it will have no value.

Keep in mind that only one thread can be run on your single-core computer at a time. Even if most are blocking, then something much more than about 20 threads is going to happen.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -