Solved

WCF - Many Concurrent Users - Windows service or IIS 7

Posted on 2011-09-06
2
845 Views
Last Modified: 2012-05-12
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.
0
Comment
Question by:HBPROCK
2 Comments
 
LVL 9

Accepted Solution

by:
Grant Spiteri earned 500 total points
ID: 36492483
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
0
 

Author Closing Comment

by:HBPROCK
ID: 36494198
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.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question