jboss - Custom load balancing algorithm with mod_cluster -


i have found out mod_cluster offers more capabilities mod_proxy or similiar modules. hence there dynamic deployment , new metrics available load balancing have question if there possibility write own load balancing algorithm instead of using predefined ones. if implement it?

yes possible. need following steps:

  1. create custom load metric extending abstractloadmetric
  2. package custom load metric jar
  3. copy jar modcluster module
  4. update module.xml include custom load metric jar
  5. update standalone/domain config xml use custom load metric

see sample example here: https://github.com/karm/mod_cluster-custom-load-metric

note: wildfly 9 bring improvement in mechanism avoid editing of module.xml. see https://issues.jboss.org/browse/wfly-372


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -