473,795 Members | 3,175 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can performance (speed) be improved under WCF; is my config just wrong or something?

Performance in our WCF application is very poor now that we've added a
number of records to tables (not an unrealistic number, though). After
doing that, we did get "max message size" errors to I bumped that number to
99999999 (see below).

Can anyone please tell me if (1) my config files below look ok, and (2) you
have any other ideas why things might be so slow?

Thanks VERY much for any feedback,
Ron

---------------------------------------------------------------
The App.config in our client looks like this:
---------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<configSections >
</configSections>
<system.service Model>
<bindings>
<wsHttpBindin g>
<binding name="mexBindin g" maxReceivedMess ageSize="999999 99">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Address.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng"
contract="IAddr ess" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Age.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng" contract="IAge" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardServ ice/Services/Animal.svc"
binding="wsHttp Binding" bindingConfigur ation="mexBindi ng" contract="IAnim al"
/>
</client>
</system.serviceM odel>
</configuration>

---------------------------------------------------------------
The Web.config in our service looks like this:
---------------------------------------------------------------

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<system.service Model>
<bindings>
<wsHttpBindin g>
<binding name="mexBindin g" maxReceivedMess ageSize="999999 99">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<services>
<!-- Address -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Addr ess"
behaviorConfigu ration="Address Behavior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAddress"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
<!-- Age -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Age"
behaviorConfigu ration="AgeBeha vior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAge"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
<!-- Animal -->
<service name="FRC.COW.F eedyard.Service .FRC.COW.Feedya rd.Service.Anim al"
behaviorConfigu ration="AnimalB ehavior">
<endpoint address="" binding="wsHttp Binding"
bindingConfigur ation="mexBindi ng"
contract="FRC.C OW.Feedyard.Ser vice.FRC.COW.Fe edyard.Service. IAnimal"/>
<endpoint contract="IMeta dataExchange" binding="mexHtt pBinding"
address="mex" />
</service>
</services>
<behaviors>
<serviceBehavio rs>
<!-- Address -->
<behavior name="AddressBe havior" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
<!-- Age -->
<behavior name="AgeBehavi or" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
<!-- Arrival -->
<behavior name="ArrivalBe havior" >
<serviceMetadat a httpGetEnabled= "true" />
<serviceDebug includeExceptio nDetailInFaults ="true" />
</behavior>
</serviceBehavior s>
</behaviors>
</system.serviceM odel>
</configuration>
Sep 4 '07 #1
1 4524
On Sep 4, 3:42 pm, "Ronald S. Cook" <rc...@westinis .comwrote:
Performance in our WCF application is very poor now that we've added a


I don't have an answer to your question, but you may wish to post your
question here:

http://forums.microsoft.com/MSDN/Sho...D=118&SiteID=1

You might be more likely to get an answer there.

Chris

Sep 5 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2324
by: teedilo | last post by:
We have an application with a SQL Server 2000 back end that is fairly database intensive -- lots of fairly frequent queries, inserts, updates -- the gamut. The application does not make use of performance hogs like cursors, but I know there are lots of ways the application could be made more efficient database-wise. The server code is running VB6 of all things, using COM+ database interfaces. There are some clustered and non-clustered...
12
2717
by: Richard Lewis Haggard | last post by:
I thought that the whole point of StringBuilder was that it was supposed to be a faster way of building strings than string. However, I just put together a simple little application to do a comparative analysis between the two and, surprisingly, string seems to out perform StringBuilder by a significant amount. A string concatenation takes not quite twice as long using StringBuilder than it does with a string. This doesn't sound right to...
2
3930
by: =?Utf-8?B?c21pdGhrbDQy?= | last post by:
I'm just now beginning to experiment with WCF, and I've run into an odd hiccup right at the beginning. I presume it's just something I'm doing wrong, but I can't figure it out. I've created a simple "Hello World" service, hosted in a console app, and if I call that service via a ChannelFactory<generated proxy, life is good: using (ChannelFactory<IHelloWorldhelloFactory = new ChannelFactory<IHelloWorld>("MyClient")) {
7
10829
by: =?Utf-8?B?TW9iaWxlTWFu?= | last post by:
Hello everyone: I am looking for everyone's thoughts on moving large amounts (actually, not very large, but large enough that I'm throwing exceptions using the default configurations). We're doing a proof-of-concept on WCF whereby we have a Windows form client and a Server. Our server is a middle-tier that interfaces with our SQL 05 database server.
1
1562
by: Ronald S. Cook | last post by:
Performance in our WCF application is very poor now that we've added a number of records to tables (not an unrealistic number, though). After doing that, we did get "max message size" errors to I bumped that number to 99999999 (see below). Can anyone please tell me if (1) my config files below look ok, and (2) you have any other ideas why things might be so slow? Thanks VERY much for any feedback, Ron
6
2622
by: Frank Hauptlorenz | last post by:
Hello out there, I have 2 services running. The first one runs in session mode and the 2nd not. The first one should call an operation of the 2nd one asynchronously, because this is doing some long running calculations. If this call is synchronously, everything is running okay. If it's call async the operation does not even start. (I've setup up some event log message at the entry point).
16
2416
by: =?Utf-8?B?U3RldmUgQmFya2Vy?= | last post by:
WCF Question Hi guys, I’m pretty new to WCF, and have a basic question about how it works. I’m trying to use WCF to write an “SOA-system”, and am having a few problems. The following analogy explains what I’m trying to do. I have a very simple class:
5
9152
by: Max2006 | last post by:
Hi, I am trying to limit my wcf service endpoint to response to only given windows user or group. How can I do that? Is there any way to configure that in the .config file? Thank you, Max
2
12878
by: =?Utf-8?B?RWRkaWU=?= | last post by:
Here is my scenario for a problem I can't solve. I am hosting a 3.5 WCF service in IIS on Windows Server 2003. The service works fine with the WCF test client in Visual Studio 2008 and from an ASP.Net client hosted on my development machine in VS2008. As soon as I deploy the ASP.net client to the "Same" IIS server, I get Access Denied messages. My goal is to use AD security groups so the authenticated user on the ASP.net page should be...
0
9672
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9519
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10213
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9040
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7538
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6780
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5436
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3722
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.