PollingDuplexHttpBinding failed after 5 or 6 calls

I implemented duplex polling in a silverlight 4 application to receive large amounts of data using client callbacks from the server, so my service contains some functions with client callbacks, and some with callbacks. When only 3 or 4 functions, called parallel, work fine, when there are more than 5 or 6 parallel calls, I get a ServerTooBusyException (the service is too busy).

After setting the serviceThrottling maxConcurrentCalls = "10000" maxConcurrentInstances = "10000" maxConcurrentSessions = "10000" values ​​also, I can not fix the problem.

When I use basichttpbinding for maintenance, everything works fine, but when pollingDuplexHttpBinding is added, it gives an error

+6
source share
1 answer

Take a look at ReliableSessionElement.MaxPendingChannels . Here is an example. BTW Maybe it’s good to think about how to handle this exception when the time comes.

0
source

Source: https://habr.com/ru/post/887339/


All Articles