wcf-performance

How to achieve maximum callback throughput with WCF duplex channels

I have setup a basic WCF client/server which are communicating via Named pipes. It is a duplex contract with a callback. After the client "subscribes", a thread on the server just invokes the callback as quickly as possible. The problem is I am only getting a throughput of 1000 callbacks per second. And the payload is only an integer! ...

WCF DuplexHTTP Maximum Connections

We are using WCF Custom Channel: DuplexHttp (from MSDN - http://code.msdn.microsoft.com/duplexhttp) to have a thick .NET client connect to our WCF service with callbacks. We have noticed that although the throughput is good, the maximum number of clients connected to the server seems to top out at about 60-70, which isn't good at all. T...

WCF Service Layer in n-layered application: performance considerations

Hi all. When I went to University, teachers used to say that in good structured application you have presentation layer, business layer and data layer. This is what I heard for more than 5 years. When I started working I discovered that this is true but sometimes is better to have more than just three layers. Two or three days ago I dis...

Set username credential for a new channel without creating a new factory

I have a backend service and front-end services. They communicate via the trusted subsystem pattern. I want to transfer a username from the frontend to the backend and do this via username credentials as found here: http://msdn.microsoft.com/en-us/library/ms730288.aspx This does not work in our scenerio where the front-end builds a bac...

WCF Performance Slow for the first call

I have a WCF service installed on IIS7. I noticed that the first call to my service is always very very slow. The subsequent calls are much faster & acceptable. If there are no calls made to the service for some time, it again goes to sleep mode. After this the next call again takes a long long time. Any remedies for this problem? TI...

Why it's so slow when a wcf client connects to the service?

Hi All, I met a performance issue when using the WCF service. Here's the story: I wrote a self-hosted WCF service which is hosted by a console application; I wrote a simple client to consume the service; After the WCF service is running, it takes over 15 seconds for the client to create connection with the service. The WCF service ...

How can I test multiple fake users accessing my WCF service?

Hello I'm building a WCF service I'm concerned about performance and scalability. In order to test multiple users accessing my WCF Service, what should I do? create a Thread Pool to run separated threads which in turn access the same WCF method? use a testing software tool to simulate these fake users? ...