c# - Two throttling for one WCF Service -


i developing system under wcf services contain 2 modules , service self hosted. 1 of module has handle multiple clients whereas module has handle 1 request @ time direct file download. other request on module set on queue. enter image description here

system should hold other request if module 2 should handle requests module

  1. how can use wcf service throttling achieve this? tried implementing 2 throttling did not work.
  2. is possible count number of pending request in wcf throttling?

i trying done using mysql hold queue not able hold current request module 2. possible hold user request , process after current process completed?

the best possible way obtain 2 throttling under 1 host separate interface service , define individual endpoints. allowed me use 2 throttling under 1 host under 2 different ports (which no problem ;)).

about counting number of pending request, think need implement performance counter taking support these links:

i update if able implement pending request count in wcf service.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -