You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "beiwei30 (GitHub)" <gi...@apache.org> on 2018/11/07 03:13:35 UTC

[GitHub] [incubator-dubbo] beiwei30 commented on issue #2457: Support multiple shared links

> @beiwei30 By default, a jvm consumer and jvm provider instance share a TCP long connection. To solve the throughput bottleneck of a TCP long connection, dubbo can use the CONNECTIONS_KEY key to set TCP for a specific interface. Long connection. The new DEFAULT_CONNECTIONS_KEY key is an extension of the default sharing of one TCP long connection, so that all interfaces can enjoy the throughput of multiple TCP connections without having to separately call an interface. Configure the connection.
> 
> Set CONNECTIONS_KEY="0" and set DEFAULT_CONNECTIONS_KEY="3". This is not the same as setting CONNECTION_KEY="3" directly. The former is the call sharing of all interfaces using 3 TCP connections, the latter is a setting [connections] The property's interface call uses a separate 3 TCP long connections, and the other interface calls still use the default shared 1 TCP long connection.

Now I get the basic idea, I will give further comments on the current impl.



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