• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Network Bandwidth consumed, slows application

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ??
 
blacksmith
Posts: 1332
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Montana has cold dark nights. Perfect for the heat from incandescent light. Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic