On Wed, Jan 19, 2011 at 1:29 PM, Srinath Perera <[email protected]> wrote:

> Hi Amila,
>
> What happen if reuse the same stub by many threads? If we think about
> that, we do this all the time at the server side.


Server side we don't use service client. service client contains
serviceContext variable which is going to shared between many different
service invocations.

As I remember the issue was related to that.

thanks,
Amila.



> So may be this is
> fixable.
>
> --Srinath
>
>
> ---------- Forwarded message ----------
> From: Amila Suriarachchi <[email protected]>
> Date: Wed, Jan 5, 2011 at 10:33 AM
> Subject: Re: Axis2 stub creation performance issue
> To: [email protected]
> Cc: [email protected]
>
>
>
>
> On Tue, Jan 4, 2011 at 7:28 PM, suril <[email protected]> wrote:
> >
> > I am looking for some help with a performance issue that we are running
> into
> > with Axis2.
> >
> > We have a library that creates a pool of connections to a server. The
> > connection pool is created using Apache Commons Pool. We are creating an
> > Axis2 stub instance in the library and using that for the SOAP
> > communication.
> >
> > We are running into significant performance problems with the Axis2 stub
> > object invocation under load.
> >
> > I had 2 questions on this:
> > 1) Can we re-use the same Axis2 stub instance across threads in our
> library?
> > We are using Axis2 1.4 -- we can move to a higher version if needed
>
> you can not use stubs across threads. But you can use Axis2 1.5.4
> latest version which reuse the connections.
>
> thanks,
> Amila.
>
> >
> > 2) If this is not possible, then are there any suggestions/tips to
> optimize
> > the performance and reduce the time taken for the Axis2 stub object
> > creation?
> >
> > Thanks for your help
> > --
> > View this message in context:
> http://old.nabble.com/Axis2-stub-creation-performance-issue-tp30586755p30586755.html
> > Sent from the Axis - Dev mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
>
>
> --
> Amila Suriarachchi
> WSO2 Inc.
> blog: http://amilachinthaka.blogspot.com/
>
>
>
> --
> ============================
> Srinath Perera, Ph.D.
>   Senior Software Architect, WSO2 Inc.
>   Visiting Lecturer, University of Moratuwa
>   Member, Apache Software Foundation
>   Research Scientist, Lanka Software Foundation
>   Blog: http://srinathsview.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/

Reply via email to