Solved

My webservice take base time 9.9666 seconds why

Posted on 2013-01-06
3
214 Views
Last Modified: 2013-01-21
My webservice take base time 9.9666 seconds why How could i reduce
0
Comment
Question by:stmani2005
  • 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:stmani2005
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
listing all functions in JavaScript 19 202
xampp tool 12 50
MySqlDump not dumping triggers 1 31
by zero exception 10 41
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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 …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

778 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