HA-JNDIScope of ChangeThe ability to pass a list of servers to the Remote API will be added. Rationale
Load balancing and failover. Functionality
CurrentThe suggested functionality can be implemented currently as follows: $remotespecs= array('xp://jboss01.example.com/', 'xp://jboss02.example.com/');
ProposedThe new functionality would make this transparent, so one would not have to differ whether there are one or many remoting servers: try(); {
Notes
Security considerations
n/a Speed impact
- Minimalistic for round-robbing load balancing Dependencies
n/a Related documents
- http://unittests.xp-framework.net/?net.xp_framework.unittest.remote.RemoteTest
Unittest verifying new functionality Comments- friebe, Mon Jun 26 10:33:49 CEST 2006 More ideas using Remote::forName(): Remote::forName(array('xp://jboss01.example.com/', 'xp://jboss02.example.com/')); - friebe, Mon Jun 26 11:19:24 CEST 2006 Maybe an extra flag could be added as follows: Remote::forName('xp://jboss01.example.com/?master', 'xp://jboss02.example.com/?failover'); In this case, no random value would be used - rather, the connection would always
go to jboss01, and only if that fails, jboss02 would be used. | Table of contents |