Solved

My webservice take base time 9.9666 seconds why

Posted on 2013-01-06
3
216 Views
Last Modified: 2013-01-21
My webservice take base time 9.9666 seconds why How could i reduce
0
Comment
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Valeri
ID: 38750034
Does it take this time every time you invoke it?
0
 
LVL 8

Author Comment

by:Manikandan Thiagarajan
ID: 38750114
yes
0
 
LVL 16

Accepted Solution

by:
Valeri earned 500 total points
ID: 38750530
looks like there is something that waits about 10 seconds somewhere?!
any Database invokations? any timeouts set somewhere? which framework do you use? Axis2 or somethinf else? can you calculate when the time is wasted in this way :
long start = System.currentTimeMillis();
long end1 = System.currentTimeMillis();
long end2 = System.currentTimeMillis();
long end3 = System.currentTimeMillis();

System.out.println("time taken : " + (end1 - start) + " ms");
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
couple of eclipse 5 46
Way to decrease size of apk file 9 87
Java string replace 11 55
How  can  i  resolve  HTTP Status 404 -? 8 44
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

830 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