Solved

WCF - Many Concurrent Users - Windows service or IIS 7

Posted on 2011-09-06
2
849 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

726 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