Hello Everybody,
I am facing some performance issues with my application.
My application uses HTTPClient APIs and it is a filetransfer application
(which uploads/downloads the files to/from server).
It is deployed on weblogic 9.1.
Client is complaining that my application is not using bandwidth
effectively and I have been using default number of connections till now.
So, I just thought that as max no of connections per host (by default) is
2 , which is very less and bcos of that other users may be waiting just
bcos of less number of connections are available.
So, if I try to increase number of connections, it should increase the
number of users serviced and in turn bandwidth utilization should improve.
But, I am confused here. I am using following code to set max number of
connections/host and total max connections but Is there any setting that I
need to do in weblogic 9.1 to increase the number of connections or by
default it should serv 50-100 connections?
Also, how can I check number of connections used, any simple way ?
httpConnectionManager = new MultiThreadedHttpConnectionManager();
httpConnectionManager.getParams().setDefaultMaxConnectionsPerHost(50);
httpConnectionManager.getParams().setMaxConnectionsPerHost(HostConfiguration.ANY_HOST_CONFIGURATION,
50); //code by Jasmine for bandwidth improvement
httpConnectionManager.getParams().setMaxTotalConnections(50);
Also, will increasing heap memory of JVM in weblogic improve performance?
I have been stucked at this place and need your help badly.
Please share your experiences.........
Thanks in Advance....
Thanks and Regards,
Jasmine Nandkishore Bhutada
Tata Consultancy Services Limited
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
ForwardSourceID:NT000055F6
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you