[jboss-dev-forums] [Design of JCA on JBoss] - URLSelectorStrategy
genman
do-not-reply at jboss.com
Thu Dec 14 16:38:57 EST 2006
Re: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCADatabaseFailover
I'd like to slightly refactor the ha-local-rar stuff so that it can support more than just "sticky round-robin"; the use case being to share the load across multiple read-only databases.
The obvious way to extend HA would be to add an additional configuration key that either indicates a Java class to use (implementing, say, URLSelectorStrategy) or some sort of general configuration value set, e.g. "SRR", "RR".
One complication I see is both XA and non-XA have their own URLSelector implementations. (This I think can be easily fixed.)
If I could solicit your opinion on what the configuration names and class layout should be, I can take a stab at it.
I also don't see any unit tests for this functionality in HEAD -- are there any?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994030#3994030
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994030
More information about the jboss-dev-forums
mailing list