WCF - Many Concurrent Users - Windows service or IIS 7

HBPROCK
HBPROCK used Ask the Experts™
on
I'm potentially creating a very large application, which exposes multiple services using netTcpBinding over the internet. I've chosen this binding, since speed is very important.

There could potentially be hundreds of concurrent users.

I'm not sure whether a Windows Service or IIS7 would be the best choice. From what I understand, IIS would be the easiest to manage. Will a host running from a Windows service effectively handle the load?

Also, what would be the most advisable security measure? This service would be publically available and secured via username and password.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior consultant
Commented:
I developed quite a large enterprise system that needed to handle up to 15 transactions per second, my setup was as follows:

F5 Load balancer on front end over 2 web boxes (windows 2008 server IIS7) which then were separated via another F5 LB over 4 app servers (windows 2008 server IIS7) and then obviously a db cluster.

Alot faster encrypting the pipe instead of both pipe and msg or every msg.

Binding:                      netTcpBinding
security mode:           Transport
clientCredentialType: Certificate
ServiceThrottling:       maxConcurrentCalls: 2000, maxConcurrentSessions: 2000, maxConcurrentInstances: 2000
InstanceContextMode = InstanceContextMode.PerCall

At one stage was hitting 29 tps, hope this helps

Author

Commented:
Yes, that's very good. If IIS 7 is suitable for dealing with traffic like that under that binding, that's all I need to know.

Thank you.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial