[jira] [Commented] (KARAF-5772) HTTP proxy should be able to support several addresses with round-robin
[ https://issues.apache.org/jira/browse/KARAF-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678433#comment-16678433 ] Stephen Higgs commented on KARAF-5772: -- [~jbonofre], is the intent here to specify a BalancingPolicy for each alias, or a global BalancingPolicy? If the former, what would that configuration look like? > HTTP proxy should be able to support several addresses with round-robin > --- > > Key: KARAF-5772 > URL: https://issues.apache.org/jira/browse/KARAF-5772 > Project: Karaf > Issue Type: Improvement > Components: karaf >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Labels: http, proxy > Fix For: 4.2.2 > > > The Karaf HTTP proxy servlet should be able to round-robin or random pick up > a target destination if several are provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5772) HTTP proxy should be able to support several addresses with round-robin
[ https://issues.apache.org/jira/browse/KARAF-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678484#comment-16678484 ] Jean-Baptiste Onofré commented on KARAF-5772: - [~shiggs] I already have a branch ready. I will create the PR and I will let you know. Basically, we have a balancing method taking a list. In the cfg file (populated when creating a proxy), we have {{balancing}} policy. This name corresponds with the balancing registration service properties. If not found, we fall back to the default one (entity). > HTTP proxy should be able to support several addresses with round-robin > --- > > Key: KARAF-5772 > URL: https://issues.apache.org/jira/browse/KARAF-5772 > Project: Karaf > Issue Type: Improvement > Components: karaf >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Labels: http, proxy > Fix For: 4.2.2 > > > The Karaf HTTP proxy servlet should be able to round-robin or random pick up > a target destination if several are provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (KARAF-5772) HTTP proxy should be able to support several addresses with round-robin
[ https://issues.apache.org/jira/browse/KARAF-5772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16676248#comment-16676248 ] Jean-Baptiste Onofré commented on KARAF-5772: - We can start with two balancing algorithms: round-robin and random. Then, we can define a {{BalancingPolicy}} interface that the user can implement and use. It would allow to support weight based or any other custom policy. Round-robin and random will be implementation of this {{BalancingPolicy}}. > HTTP proxy should be able to support several addresses with round-robin > --- > > Key: KARAF-5772 > URL: https://issues.apache.org/jira/browse/KARAF-5772 > Project: Karaf > Issue Type: Improvement > Components: karaf >Reporter: Jean-Baptiste Onofré >Assignee: Jean-Baptiste Onofré >Priority: Major > Labels: http, proxy > Fix For: 4.2.2 > > > The Karaf HTTP proxy servlet should be able to round-robin or random pick up > a target destination if several are provided. -- This message was sent by Atlassian JIRA (v7.6.3#76005)