Solved

WCF - Many Concurrent Users - Windows service or IIS 7

Posted on 2011-09-06
2
844 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
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now