• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

web application slow

 
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

We have got a web application using db2 as the database, hibernate as the persistence layer and struts as the web layer. We discovered that the application performed pretty good within LAN, but really bad from outside. I speculte that the performance issue is not from the web application itself, but from network/router etc. configuration.
However I don't know which tool or strategy to prove myself. Any suggestions?

Burt
 
author & internet detective
Posts: 39789
797
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Burt,
One place to start would be to ping your web server or app server from outside and inside the LAN and compare the difference.
 
bujin wang
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the ping results:

1. From outside, ping the server: 19ms;
2. From within LAN, ping the server: <1ms;
3. From outside, ping hotmail.com: 40ms;

I think the server response time is reasonable. It somehow realted the network/router configuration or firewall configuration.

Any clue?

Burt
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try what happens when you access a small static html page? Can you monitor the CPU load while processing the request?
[ October 26, 2004: Message edited by: Ilja Preuss ]
 
bujin wang
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did a static big file download test. The speed is 90kb/sec. Is it slow for a web server?

Burt
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!