concurrency - wcf asynchronous concurrent call raised timeout exception -
i making 10 concurrent asynchronous wcf service call silverlight application using multiple threads @ same time.
the wcf service take 30 seconds process each call client.
when third thread makes call wcf server gives timed out exception. when change send timeout configuration 10 minutes, working fine threads.
so confusion is, wcf considering timeout configuration concurrent calls commonly. please note using basic http binding.
it sounds there single service instance processing calls. happen if (as in comments) have per-session instancing , concurrency set single.
the calls treated belonging same client session, , being queued , processed in turn single threaded, single service instance. requests don't dispatched before client timeout failed.
you should set instancing per-call, mean service instance per request, 10 calls should processed concurrently.
see https://msdn.microsoft.com/en-us/library/ms731193(v=vs.110).aspx
Comments
Post a Comment