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/09/30 02:27:11 UTC

[GitHub] [dubbo] AlbumenJ commented on pull request #8963: [ISSUE 8961] Replace RpcContext.getServiceContext in InstanceAddressURL with private instance filed.

AlbumenJ commented on pull request #8963:
URL: https://github.com/apache/dubbo/pull/8963#issuecomment-930698545


   InstanceAddressURL is shared for many threads which can reduce object allocation for each service. So, InstanceAddressURL  with different thread (or RpcServiceContext) can get difference parameters. You can think that InstanceAddressURL is aggregated with a lot of services in the same app, and we can get each service's parameter with current thread's state(RpcServiceContext).


-- 
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