You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by "liubao68 (via GitHub)" <gi...@apache.org> on 2023/02/28 02:39:40 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #3685: MicroserviceVersions每次刷新列表时都会加载契约, 会加大对注册中心的压力

liubao68 commented on issue #3685:
URL: https://github.com/apache/servicecomb-java-chassis/issues/3685#issuecomment-1447481046

   从功能设计的角度:(1)这个修改是需要保留的,允许覆盖契约可以有效降低大家改版本号的疑问。 (2)注册中心的压力应该能够支持这样的场景(所有实例单线程并发完成某个具体的功能),否则不可避免会导致一些意想不到的问题。 
   
   后续java chassis对契约管理有些新的想法,比如不强依赖注册中心必须具备契约。 目前其实已经具备一些机制,对于性能要求高的场景,可以考虑在客户端本地将服务端契约放进去,这样是最高效也能够保持兼容的处理方式。 相对于从注册中心拉取契约,唯一的麻烦就是手工放一下契约, 从性能、稳定性等很多方面都是有好处的。 
   


-- 
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: commits-unsubscribe@servicecomb.apache.org

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