473,395 Members | 1,941 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Can anyone please tell me why my app's performance under WCF is so poor?

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"?>
<configuration>
<configSections>
</configSections>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="mexBinding" maxReceivedMessageSize="99999999">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Address.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding"
contract="IAddress" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Age.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding" contract="IAge" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Animal.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding" contract="IAnimal"
/>
</client>
</system.serviceModel>
</configuration>

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

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="mexBinding" maxReceivedMessageSize="99999999">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<services>
<!-- Address -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Address"
behaviorConfiguration="AddressBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAddress"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
<!-- Age -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Age"
behaviorConfiguration="AgeBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAge"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
<!-- Animal -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Animal"
behaviorConfiguration="AnimalBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAnimal"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<!-- Address -->
<behavior name="AddressBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<!-- Age -->
<behavior name="AgeBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<!-- Arrival -->
<behavior name="ArrivalBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
Sep 4 '07 #1
1 1540
have you profiled your application at all? there are many free and good tools
out there to investigate application bottlenecks.

HTH

Ollie Riches

"Ronald S. Cook" wrote:
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"?>
<configuration>
<configSections>
</configSections>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="mexBinding" maxReceivedMessageSize="99999999">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<client>
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Address.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding"
contract="IAddress" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Age.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding" contract="IAge" />
<endpoint
address="http://BOUCSDEV01:888/COWFeedyardService/Services/Animal.svc"
binding="wsHttpBinding" bindingConfiguration="mexBinding" contract="IAnimal"
/>
</client>
</system.serviceModel>
</configuration>

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

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.serviceModel>
<bindings>
<wsHttpBinding>
<binding name="mexBinding" maxReceivedMessageSize="99999999">
<security mode="None"/>
</binding>
</wsHttpBinding>
</bindings>
<services>
<!-- Address -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Address"
behaviorConfiguration="AddressBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAddress"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
<!-- Age -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Age"
behaviorConfiguration="AgeBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAge"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
<!-- Animal -->
<service name="FRC.COW.Feedyard.Service.FRC.COW.Feedyard.Se rvice.Animal"
behaviorConfiguration="AnimalBehavior">
<endpoint address="" binding="wsHttpBinding"
bindingConfiguration="mexBinding"
contract="FRC.COW.Feedyard.Service.FRC.COW.Feedyar d.Service.IAnimal"/>
<endpoint contract="IMetadataExchange" binding="mexHttpBinding"
address="mex" />
</service>
</services>
<behaviors>
<serviceBehaviors>
<!-- Address -->
<behavior name="AddressBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<!-- Age -->
<behavior name="AgeBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
<!-- Arrival -->
<behavior name="ArrivalBehavior" >
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="true" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
</configuration>
Sep 5 '07 #2

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

Similar topics

5
by: Scott | last post by:
I have a customer that had developed an Access97 application to track their business information. The application grew significantly and they used the Upsizing Wizard to move the tables to SQL...
12
by: Ray | last post by:
Hello, I've got the chance to determine the technology to use in creating a product similar to this: http://www.atomicisland.com/ Now the thing is that I need to sell this to the guy with...
20
by: John Mark Howell | last post by:
I had a customer call about some C# code they had put together that was handling some large arrays. The performance was rather poor. The C# code runs in about 22 seconds and the equivalent...
10
by: Extremest | last post by:
I know there are ways to make this a lot faster. Any newsreader does this in seconds. I don't know how they do it and I am very new to c#. If anyone knows a faster way please let me know. All...
4
by: Jim Devenish | last post by:
I have converted an Access back-end to SQL Server back-end but am having some problems. The Access to Access application has been running well for some years. I have successfully copied all the...
20
by: C# Beginner | last post by:
I'm currently creating a database class, which contains a member called Open(). With this method users can open different databases. When a user tries to open a database which happens to be secured...
2
by: ARC | last post by:
Just curious if anyone is having issues with Acc 2007 once the number of objects and complexity increases? I have a fairly large app, with many linked tables, 100's of forms, queries, reports, and...
4
by: joa2212 | last post by:
Hello everybody, I'm posting this message because I'm quiet frustrated. We just bought a software from a small software vendor. In the beginning he hosted our application on a small server at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.