开发者

How to design a WCF service which can support 10,000 simultaneous hits

I a开发者_如何学运维m a beginner in WCF and want to take some help in creating a WCF for my project.

I have to create a WCF service which can support 10,000 users simultaneous hits.

The job of the WCF service is to fetch a cached up XML object (we are using Enterprise Lib caching) and return it to the caller.

This WCF service will have to be publicly exposed. So I was thinking that we may have to use basicHttpBinding... I don't know, I may be wrong.

Can anyone please suggest the best way of going ahead with this?

Thanks a lot!


  • Don't use reliable messaging
  • Don't use sessions
  • Don't use transactions
  • Don't use Duplex
  • Don't use message security
  • Use BasicHttpBinding or NetTcpBinding
  • if you need security on HTTP, use HTTPS (TCP already implements encryption)

My personal view, don't use WCF if you need performance! :) Use ASP NET MVC with JSON message format and if you need security, use HTTPS.


This article might be useful - http://mikehadlow.blogspot.com/2011/03/7000-concurrent-connections-with.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜