• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 224
  • Last Modified:

My webservice take base time 9.9666 seconds why

My webservice take base time 9.9666 seconds why How could i reduce
0
Manikandan Thiagarajan
Asked:
Manikandan Thiagarajan
  • 2
1 Solution
 
ValeriCommented:
Does it take this time every time you invoke it?
0
 
Manikandan ThiagarajanSenior consultantAuthor Commented:
yes
0
 
ValeriCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now