Solved

architecture: applets over http too slow

Posted on 2004-04-29
9
185 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
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:

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now