You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (JIRA)" <ji...@apache.org> on 2018/08/06 07:32:00 UTC

[jira] [Updated] (SCB-706) refactor loadbalance filters logic to support invocation based filter

     [ https://issues.apache.org/jira/browse/SCB-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

liubao updated SCB-706:
-----------------------
    Component/s: Java-Chassis

> refactor loadbalance filters logic to support invocation based filter
> ---------------------------------------------------------------------
>
>                 Key: SCB-706
>                 URL: https://issues.apache.org/jira/browse/SCB-706
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: liubao
>            Assignee: liubao
>            Priority: Major
>             Fix For: java-chassis-1.0.0
>
>
> Why we do this?
>  # When implement invocation based filter, e.g. darklaunch deployment, we need to filter servers based on invocation parameters. But now, we create a Loadbalaner instance for each service, and Robin filter interface can not pass Invocation to it. Before refactor, we doing this by ThreadLocal and cache Invocation, and use in filter implementation. This is error prone and users can't handle this complixity
>  # We have other improvements, e.g. SCB-700, we can do server status check, and add a filter a choose from active servers. We need to consider filter orders and other feature, current implementation not satisfy this.
>  # We want to make loadbalance code handy by remove some compatible fixes. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)