Gucvii commented on PR #2868: URL: https://github.com/apache/dubbo-go/pull/2868#issuecomment-2872719402
> There are several issues here. We should use RegistryConfig to pass the weight parameter, rather than ProviderConfig. I do not recommend merging this. I agree that delaying might be a good approach, as it could allow for a better API design and a more comprehensive solution for all types of load balancing. Regarding the registry.WithWeight, I still believe it's primarily intended for multi-subscription scenarios like cluster weight. This PR focuses on achieving in-cluster (server/server) weight balancing, which I see as a distinct need. The previous code illustrates this specific requirement. <img width="820" alt="截屏2025-05-12 22 05 14" src="https://github.com/user-attachments/assets/767b4628-90e3-437e-81ce-ec0e4ff5d6b6" /> -- 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]
