• Post Reply Bookmark Topic Watch Topic
  • New Topic

web application slow

 
bujin wang
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35744
412
Eclipse IDE Java VI Editor
  • 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
 
Ilja Preuss
author
Sheriff
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!