Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

architecture: applets over http too slow

Posted on 2004-04-29
9
Medium Priority
?
193 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 1000 total points
ID: 10955673
0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 1000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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 September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

705 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