Solved

WCF - Many Concurrent Users - Windows service or IIS 7

Posted on 2011-09-06
2
848 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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