简体   繁体   中英

PollingDuplexHttpBinding faulted after 5 or 6 calls

I have Implemented polling duplex in silverlight 4 application for getting large amounts of data using client call backs from server, so my service contains some functions with client call backs and some with out call backs. When only 3 or 4 functions called parallel it was working fine, when more than 5 or 6 parallel calls are there i am getting ServerTooBusyException (Service is too busy).

After setting serviceThrottling maxConcurrentCalls="10000" maxConcurrentInstances="10000" maxConcurrentSessions="10000" values also, I am unable to fix the problem.

When I apply basichttpbinding to service everything is working fine, but when pollingDuplexHttpBinding is aplied its giving error

Take a look at ReliableSessionElement.MaxPendingChannels . Here is example . BTW May be it will be good to think about how to process that exception when the time comes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM