Solved

architecture: applets over http too slow

Posted on 2004-04-29
9
189 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

615 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