• Post Reply Bookmark Topic Watch Topic
  • New Topic

Network Bandwidth consumed, slows application  RSS feed

 
dg dg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm testing an intranet multiuser online application built using JSP / Struts / EJB. The database is on Oracle 9i and the application is deployed on PRAMATI server.

When the appliation is accessed by 2 or more users on 64kbps line(WAN connection), it utilizes whole network bandwidth and access to the application slows down.

Any solutions / probable reasons ??
 
Warren Dew
blacksmith
Ranch Hand
Posts: 1332
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could get a sniffer and see how much bandwidth is used when there's only one server. If it's more than 32 kbps, then the problem is probably inadequate bandwidth.
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What network is saturated - the pipe from the application to the clients, or any of the links between servlet container/ejb container/database?

If it's the pipe to the clients, what is saturating it? Do you have any huge images? Then get rid of them, or reduce their size e.g. by using appropriate formats or lowering jpeg Q factors. Or is your generated HTML particularly huge? In that case add a servlet filter that performs HTTP response compression if the client supports it (after we put that in place, premierleague.com pages shrank to 10% of their original size, halving total bandwidth useage). Also, if you can, make sure you set sensible Last-Modified headers and so on so that a browser or proxy won't download a page that didn't change (eg If-Modified-Since).

- Peter
 
Anupreet Arora
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What network is saturated - the pipe from the application to the clients, or any of the links between servlet container/ejb container/database?


How do we determine this... which links are saturated ?
I need to perform a similar analysis on a web application I am working on. Will appreciate any links / direct answers to get me started.

Many Thanks !
Anupreet
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dg dg,

Welcome to JavaRanch!

We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with the JavaRanch Naming Policy.

Thanks pardner! I hope to see you 'round the Ranch.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!