fsx379 commented on issue #9660:
URL: https://github.com/apache/dubbo/issues/9660#issuecomment-1049590181


   > 第一点提到的 “notify处理了更多的通知” 
指的是notify方法被调用频次高吗?这个主要还是因为第二点吧,在优化了异步写文件的线程和原执行notify方法的线程不共用properties的锁 
,从而加速了notify方法的执行流程,但应该也不会因为这个带来notify被调用次数高很多吧。
   
   对,是由于优化后加速了notify方法的执行流程导致的(老版本 2.6* 
中)。特别是应用节点多,且一次批量发布多个机器,会频繁操作zk(删除+重新注册节点)。zk客户端 notify 
处理慢,同一个节点watch频率低,会忽略很多中间的变化;处理快,同一个节点watch频率高,会更敏感的感知中间的变化。


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to