开发者

ASP.Net sites - shared WCF services

开发者 https://www.devze.com 2023-01-02 05:24 出处:网络
I have several web sites that share common functionality - for example, address verification. Is it comm开发者_如何学Goon practice to have a central location where this address verification service re

I have several web sites that share common functionality - for example, address verification. Is it comm开发者_如何学Goon practice to have a central location where this address verification service resides and is references by all of my sites? - as opposed to having the same service on multiple sites.

Are there any downsides to having the service at a central location?


I can think of about two downsides to keeping services in a central location (and they both almost argue for instead of against):

  • Depending on the load, now all clients of the services will be affected if another client over-stresses the common service.
  • If you have multiple services, it makes it more difficult to control visibility if you need some services exposed to the internet, and others to stay on the internal network.

Admittedly, both of these issues can be unlikely unless you are a huge operation. But I figured I'd put them out there to serve as counterpoints :-)


Is it common practice to have a central location where this address verification service resides and is references by all of my sites

Generally Yes. It is common to have a single location where all site point to get the same information.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号