• Post Reply Bookmark Topic Watch Topic
  • New Topic

IE: Slow compile of JSP pages?  RSS feed

 
Mindy Pera
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I've got an interesting puzzle to work on:
The application:
Struts
OJB connection to an oracle database
4 clustered Tomcat 5.0 servers

Locally: pages load in minimal time (before you can count to 1!)
As is to be expected, pages load more slowly on the live application, with 300+ users
Here's the puzzle:
On the user's local network (on which the server with the application is located), there is a clear difference on how pages load, depending on whether a user is using Windows XP or Windows 2000

We've timed the differences, and seen a 6+ second delay on Windows XP IE 6 over what we see on Windows 2000 IE 6(1-3 seconds for a screen to load). We've set up a local Windows XP computer and are accessing the application via VPN. Windows XP and Windows 2000 operate at the same speed, and, in some cases, Windows XP is faster.

Any ideas as to a setting in Windows XP or Internet Explorer for XP that could be causing this? Has anyone seen behavior like this before?
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
client should have no influence on this, EXCEPT that the machines on XP might be slower to render the HTML.

Are they running the same hardware? If so what hardware?
Is the network segment on which the XP machines are installed slower maybe, causing transmission delays?
Do the XP machines have some heavy background tasks running, slowing them down? When I start something on my Win2K box that eats nearly 100% CPU websites are slow to render that otherwise render quickly...

Rest assured your servlet container is unlikely to have logic like if (OS == windowsXP) delay(5000); else delay(1000);
 
Mindy Pera
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
client should have no influence on this, EXCEPT that the machines on XP might be slower to render the HTML.

Are they running the same hardware? If so what hardware?
Is the network segment on which the XP machines are installed slower maybe, causing transmission delays?
---
Both the XP and 2000 machines are installed on the same network segment
In fact, another similar application runs at equals speeds on both Windows 2000 and Windows XP under the same circumstances.
---


Rest assured your servlet container is unlikely to have logic like if (OS == windowsXP) delay(5000); else delay(1000);
---
I assumed as much.
What about caching pages? Is there some difference between XP and 2000 that tells XP to "go compile this page every time?"
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!