Well, for this we would need to wrap the proxy inside another object, which
was already on the todo list. Then, you can attach whatever you want to this
proxy. Nevertheless, the list of proxies (and thus the data attached to
them) is only updated if the network topology changes. Consequently, if you
want to provide some information to the client side, you may want to attach
information to the invocation object instead (which is already possible) and
provide information to your load balancing policy. Anyway, I would use the
3.2 or HEAD codebase to work on that and not the 3.0 as the LB code has been
changed in 3.2/head.
Cheers,
Sacha
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]De la part de
> Maris Orbidans
> Envoy� : jeudi, 9 janvier 2003 16:18
> � : [EMAIL PROTECTED]
> Objet : RE: [JBoss-dev] LoadBalancePolicy interface
>
>
>
> thanx Sacha
>
> I asked that because I have an idea to improve load balancing of
> JBoss, maybe even to use some kind of neural network.
> ( http://www.jboss.org/forums/thread.jsp?forum=155&thread=26907 )
>
> Do you think it's possible using your existing codebase ?
>
> Neural network (or any advanced LB algorithm) would need to
> gather a lots of information (for example, execution time of RPCs
> for each server), to optimize LB.
>
> LoadBalancePolicy interface seems too simple to achieve all that.
> But I havent spent much time digging JBoss code yet.
>
>
> Maris
>
> PS I am searching a good topic for my thesis, that's why I am interested.
>
>
> > -----Original Message-----
> > From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, January 09, 2003 4:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [JBoss-dev] LoadBalancePolicy interface
> >
> >
> > From the point of view of the LBP, it is not important to
> > know what's in it:
> > you have to elect one object, that's all.
> >
> > (the list contains RMI proxies for the HA-JRMP RMI Server)
> >
> > > -----Message d'origine-----
> > > De : [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED]]De la part de
> > > Maris Orbidans
> > > Envoy� : jeudi, 9 janvier 2003 15:18
> > > � : [EMAIL PROTECTED]
> > > Objet : [JBoss-dev] LoadBalancePolicy interface
> > >
> > >
> > > hello
> > >
> > >
> > > I would like to ask: What targets list contains ? Which class
> > > objects ?
> > >
> > >
> > > public class RoundRobin implements LoadBalancePolicy
> > > {
> > > ...
> > > public Object chooseTarget(java.util.List targets)
> > > {
> > > cursorRemote = ( (cursorRemote + 1) % targets.size() );
> > > return targets.get(cursorRemote);
> > > }
> > > }
> > >
> > >
> > >
> > > thanx
> > > Maris Orbidans
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.NET email is sponsored by:
> > > SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> > > http://www.vasoftware.com
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.NET email is sponsored by:
> > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
> > http://www.vasoftware.com
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> >
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by:
> SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See!
> http://www.vasoftware.com
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development