Solved

architecture: applets over http too slow

Posted on 2004-04-29
9
188 Views
Last Modified: 2010-03-31
I have a an java application accessed by huge number of applet based clients over proprietary http based protocol. Clients access a central server through various levels of proxies. A group of clients clients and last level proxy are in the same Lan (same institution's branch). Server is connected to legacy backend.
Application suffers a latency, response time problem. I think it is in part due to not that much efficient, web-service like, request based protocol. Is there any way to make this more efficient, maybe pool these connections in some way?
Distributing application is at the moment out of question.
0
Comment
Question by:Damn
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
9 Comments
 
LVL 23

Accepted Solution

by:
rama_krishna580 earned 250 total points
ID: 10955673
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 250 total points
ID: 10957581
I'm not sure if pooling would help you - where would you maintain the pool? If its the web-server, then obtaining a connection from there itself involves connecting to the web-server. Pooling is needed when it takes a lot of time to connect to something - so you would like to maintain a set of already available connections in a pool. But in this scenario, I don't think that it would help. Are your clients behind a proxy?
0
 

Author Comment

by:Damn
ID: 10959746
rama, links are irrelevant in this case, problem is in communication, not in applet's visual performance.

mayankeagle,
Well, pooling is first idea that came to my mind. My idea is having something of P2P pooling, so one client serves as proxy for a certain number of close-by applets, behind same proxy.
Of course, this only has sence if something is gained, and rerouting http requests in this way would have no impact. That's why I am considering also switching to some more efficient protocol, but I am not shure just how much pure tcp is more efficient compared to http?. And of course this could imply huge number of network restriction (firewalls) etc. problems.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Damn
ID: 10962967
ok, I guess this is really complicated. Increased to 500 points.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 10971060
Well, I guess that pooling - if implemented at a proxy behind which the clients are hidden, could be a good idea - if you have means of establishing that. Let's not change the protocol right now - we'll see about that later in case pooling still doesn't help. However, as of now, I don't see anything wrong with HTTP.
0
 
LVL 30

Expert Comment

by:Mayank S
ID: 11683267
Split: mayankeagle, rama_krishna580
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
String array comparison 4 57
ejb entity bean example 2 57
swing controls 2 37
IBM TS2900 (3572) Tape Autoloader Java? 12 109
In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question