Hi, RocketMQ Community: Nameserver is a very important component in RocketMQ cluster, which is used for route discovery. At present, the nameserver is stateless and lightweight, but it still bears a certain amount of pressure especially when the cluster reaches a certain scale. So I want to start a RIP to optimize the nameserver in RocketMQ 5.0.
I want to optimize the nameserver from the following aspects 1. By separating the broker registration thread pool and the topic route info acquisition thread pool, we can ensure that different types of requests will not affect each other. 2. Optimize topic routing cache to speed up topic routing acquisition, reduce nameserver CPU pressure. 3. Unregister brokers in batches to speed up the broker offline. And there will be no compatibility issues in this RIP. Refer to the document for more details: https://shimo.im/docs/pXgKrCwxhCcTwPkx/ I can not log in to Google Docs now, so I put the document on shimo and I will put it on Google Docs later. If you have any questions, please reply to this email or comment on the document. Thanks RongtongJin
