Note that there are some explanatory texts on larger screens.

plurals
  1. POIIS servicehost with loadbalancing and custom config store?
    primarykey
    data
    text
    <p>Looking for some guidance on feasibility and implementation.. I would like to accomplish the following; Create a custom ServiceHostFactory that can be used within IIS and Console/Service apps that scans a configuration for any registered services and loads them (I can do this via Unity) but also understands via the same config that a service may be hosted in multiple locations and does some load-balancing -- say round robin for simplicity -- on every call. Id also like this factory to (somehow) provide configuration data to the service, like a custom appsettings provider and allow those settings to change, additional service host locations for each service to be added/removed from load balancing, and other such management events. Ideally at runtime..</p> <p>I believe this is possible, but not sure how? I've figured out the following;</p> <ol> <li>Load service implementation dlls via Unity</li> <li>Also host a 'config' service and create a custom settingsprovider that talks to this <ul> <li>how do I 'invalidate' a setting when it changes?</li> </ul></li> </ol> <p>Still not sure how to implement round-robin and the eventing..</p> <p>Any suggestions? Has this been done before? Are there samples available? MS StockTrader 5 seems to do something similar with azure, but i can't make heads or tails of the code and how it's all wired up..</p> <p>UPDATE: In reading further, I think what Im after is a WCF routing service that can understand commands.. i.e. a routing service that i can send commands like 'add service' at runtime.. Still not really clear on whether this is possible?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload