473,659 Members | 3,592 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bad performance on Web Service call

Hi,

I have the following situation. COM server exposed on Windows CE 5.0 through
SOAP (SOAP toolkit)
C# client on XP calls Web Service methods on CE (COM)SOAP server.
The complete call takes 527msec. Why is it so much?
The SOAP method call is very simple : a COM method with 1 argument (long)
The Ethereal logging shows that the CE server side responsiveness is good,
but the XP C# client waits a very long time before he gives an ack
on the previous TCP message initiated by the CE server.
Why does it take so long on the XP side to give the acknowledge? This makes
the SOAP implementation VEEERRRYYY slow compared to for example DCOM. I can
make the same call with DCOM in less than 2msec.

CE side = Pentium M 1.3Ghz, Windows CE 5.0
XP side = Pentium 4 2.66Ghz, Windows XP Pro SP2, .NET 2.0, WSE 3 installed
I am not using any authentication (anonymous) or security

Ethereal trace
1 0.000000 192.168.2.40 -192.168.2.48 TCP [TCP segment of a reassembled
PDU]
2 0.119940 192.168.2.48 -192.168.2.40 TCP http 1442 [ACK] Seq=0
Ack=307 Win=32406 Len=0
3 0.119968 192.168.2.40 -192.168.2.48 HTTP POST /GateWS.wsdl HTTP/1.1
4.0.120142 192.168.2.48 -192.168.2.40 TCP http 1442 [ACK] Seq=0
Ack=867 Win=32580 Len=0
5 0.120677 192.168.2.48 -192.168.2.40 TCP [TCP segment of a reassembled
PDU]
6 0.309083 192.168.2.40 -192.168.2.48 TCP 1442 http [ACK] Seq=867
Ack=185 Win=64842 Len=0
7 0.309211 192.168.2.48 -192.168.2.40 HTTP HTTP/1.0 200 OK
8 0.527824 192.168.2.40 -192.168.2.48 TCP 1442 http [ACK] Seq=867
Ack=508 Win=64519 Len=0

CE server = 192.168.2.48
XP client = 192.168.2.40

1 = Initial call from client to server "POST /GateWS.wsdl"
2 = Acknowledge of message 1 by server
3 = Call SOAP method
4 = Acknowledge of message 3 by server
5 = "HTTP1.0 200 OK"
6 = Acknowledge of message 5 by client
7 = SOAP call response
8 = Acknowledge of message 7 by client
Werner

Oct 24 '06 #1
0 1771

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

Similar topics

5
471
by: John Bailo | last post by:
I wrote a webservice to output a report file. The fields of the report are formatted based on information in an in-memory XmlDocument. As each row of a SqlDataReader are looped through, a lookup is done, and format information retrieved. The performance was extremely poor -- producing about 1000 rows per minute. However, when I used tracing/logging, my results were inconclusive. First of all, based on the size of the data and the...
1
5009
by: Benjamin | last post by:
Hi, I'm currently writing a Web Services that interacts with a database. To allow me to use not just one database provider (for example, I could use MS Access, SQL Server or MySQL), the Web Service dynamically loads up an assembly that implements an Interface I called IDatabase. To load the assembly and create an object, I wrote this function: private IDatabase LoadDatabasePlugin( string assemblyFile, string
13
2755
by: bjarne | last post by:
Willy Denoyette wrote; > ... it > was not the intention of StrousTrup to the achieve the level of efficiency > of C when he invented C++, ... Ahmmm. It was my aim to match the performance of C and I achieved that aim very early on. See, for example "The Design and Evolution of C++". -- Bjarne Stroustrup; http://www.research.att.com/~bs
6
1714
by: Mike | last post by:
Lets just say my app is done HOO HOO. Now, I'm accessing the database via a web service and one thing i noticed that my app is running real slow. When I first started working on the app is ran pretty quick returned the data to the screens in about 2 - 3 seconds. Now its going about 5 - 10 seconds. How can I beef it up for better performance.
1
6729
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name this WebService1. (using Apache Axis 1.1) Scenario 1: -----------
1
7248
by: Ken Varn | last post by:
I have just started playing around with Web Services. I created a sample Web Service and invoked a sample "Hello World" method call from my Win Forms control running under an ASP.NET web page. The time it takes to return the result seems a little bit much. It takes anywhere from 500 to 800 milliseconds to return a simple "Hello World" string message. This is even running it on localhost. Is this normal for the request to take this...
1
1015
by: hilel_d | last post by:
I noticed that each call to a web service method creates a new instance of the web service class by calling its constructor. As I was not aware of that at the time the code was written I included in the constructor an initialization procedure that prepared the data for all the web service methods. This situation may result in a significant degradation in performance, for example when a method that does not require initialization at all...
3
1410
by: Markus | last post by:
Hi, I am developing a service, both client and server in C# WSE2. To secure the connection I'm using both server and client certificate. The problem is that I receive a performance hit for about 20-30 sec on the first call with the following calls under 1 sec. So my question is, what the heck is going on? :-) Can someone confirm that this is casused by the SSL handshake? Now, this would be a minor problem if it only occured on the first...
2
1158
by: J Disharoon | last post by:
I have a web service that does some heavy lifting with XML and hash tables. I moved my architecture to Windows 2003 (5 identical servers behind a load balancer, 1 stayed on Windows 2000), and now have a major performance problem. The Win2k3 servers are running at an average of 7.7s/call, and the Win 2000 runs at 2.6s/call. I broke my logging in 4 parts, and the more XML or XSL the part has, the more apparent the differnce in run time. ...
3
1324
by: robin9876 | last post by:
In a deployed .Net Service is there any settings that can be made on the server level that can log all requests to the service and the time that the request was made to the service and the time the request was sent back to the client?
0
8428
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, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
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
8748
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...
1
8531
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7359
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 project—planning, coding, testing, and deployment—without 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...
0
5650
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
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.