dubbo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carryxyh (GitHub) <git...@apache.org>
Subject [GitHub] [incubator-dubbo] carryxyh commented on issue #2769: About setting the connections to the method part.
Date Fri, 14 Dec 2018 04:51:21 GMT
@khanimteyaz 
Sorry about that. I didn't notice your comment.
Now, we can config like this:
```
<dubbo:reference id="demoService" check="false" interface="org.apache.dubbo.demo.DemoService">
        <dubbo:method name="sayHello" connections="10"/>
    </dubbo:reference>
```

But in my debug, the connections config will not effect.
In my opinion, this setting is meaningless. Because the meaning of connections is to set the
number of tcp channels, and for dubbo, an invoker corresponds to a service. We can only control
the number of tcp links managed by an invoker, not the method.

At present, we also need to solicit opinions from many people. If we can agree, I think we
need to modify the xbd file of dubbo, and the connections are not allowed on the method config..

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2769 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


Mime
View raw message