You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/11/03 06:01:38 UTC

[GitHub] [dubbo] chickenlj opened a new issue #9196: Revisit the service discovery process

chickenlj opened a new issue #9196:
URL: https://github.com/apache/dubbo/issues/9196


   ![Untitled](https://user-images.githubusercontent.com/18097545/140015647-690f008d-9f91-4743-86ce-4a88afcc2831.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj edited a comment on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj edited a comment on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj edited a comment on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj edited a comment on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580


   1. 核心是下面 `服务暴露/应用`、`注册实例`两个流程,主要的变化是:计划把集中化的InMemoryWritableMetadataService清理掉,所有操作以ServiceDiscovery为中心,Metadata与Instance作为服务发现的两个互相绑定的内容,全部都由ServiceDiscovery托管。
   
   2. 第二个点是 ServiceNameMapping。
   
   3. 第三个点是服务测试元数据(这部分比较独立和简单)。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj commented on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj commented on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958677490


   这样将应用级别服务发现的相关概念更内聚在 ServiceDiscovery 中,另一方面有利于支持多注册中心;需要将映射关系也考虑在内,比较麻烦的是消费端的映射关系读取。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj edited a comment on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj edited a comment on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580


   1. 核心是下面 `服务暴露/应用`、`注册实例`两个流程,主要的变化是:计划把集中化的InMemoryWritableMetadataService清理掉,所有操作以ServiceDiscovery为中心,Metadata与Instance作为服务发现的两个互相绑定的内容,全部都由ServiceDiscovery托管;包括ServiceInstancesChangedListener中的元数据操作,也放在ServiceDiscovery内完成,onEvent通知出去的是包含metadata的完整ServiceInstance
   
   2. 第二个点是 ServiceNameMapping。这块需要再看看。
   
   3. 第三个点是服务测试元数据(这部分比较独立和简单)。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj edited a comment on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj edited a comment on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580


   1. 核心是下面 `服务暴露/应用`、`注册实例`两个流程,主要的变化是:计划把集中化的InMemoryWritableMetadataService清理掉,所有操作以ServiceDiscovery为中心,Metadata与Instance作为服务发现的两个互相绑定的内容,全部都由ServiceDiscovery托管;包括ServiceInstancesChangedListener中的元数据操作,也放在ServiceDiscovery内完成,onEvent通知出去的是包含metadata的完整ServiceInstance
   
   2. 第二个点是 ServiceNameMapping。
   
   3. 第三个点是服务测试元数据(这部分比较独立和简单)。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] chickenlj edited a comment on issue #9196: Revisit the service discovery process

Posted by GitBox <gi...@apache.org>.
chickenlj edited a comment on issue #9196:
URL: https://github.com/apache/dubbo/issues/9196#issuecomment-958675580


   1. 核心是下面 `服务暴露/应用`、`注册实例`两个流程,主要的变化是:计划把集中化的InMemoryWritableMetadataService清理掉,所有操作以ServiceDiscovery为中心,Metadata与Instance作为服务发现的两个互相绑定的内容,全部都由ServiceDiscovery托管;包括ServiceInstancesChangedListener中的元数据操作,也放在ServiceDiscovery内完成,onEvent通知出去的是包含metadata的完整ServiceInstance,ServiceInstancesChangedListener进一步的完成到interface listener的转换。
   
   2. 第二个点是 ServiceNameMapping。这块需要再看看。
   
   3. 第三个点是服务测试元数据(这部分比较独立和简单)。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org