whanice commented on issue #2030: [Proposal]Metadata(URL) problems and possible solutions URL: https://github.com/apache/incubator-dubbo/issues/2030#issuecomment-405456841 The Registry URL for dubbo may contanins many information. I simply divided into several categories: ### 1.Service registration 1. where is the service? so comes ip and port 2. What services are provided? for dubbo use interface or path 3. how contact with the service? we may use protocol, codec, exchanger, serialization... 4. support multiple versions and isolated, can use group, version 5. ... ### 2.Service config We can use configuration in provider side to give a suggestion behavior of the remote call. 1. How long will timeout? 2. Do we need retries? or jsut failfast? 3. how to select one instance fron a list? loadbalance, weight... 4. how about service downgrade? can use mock... 5. Do we need cache invoke result? 6. generic invoke? 6. methods level configuration ... ### 3.Provider Config 1. Thread pool 2. Delay pubilsh 3. Register or not 4. Application info 5. Parallel control(executes) 6. Which transporter ... ### 4.Feature depends on registry 1. Callback parameter 2. Token Authorization 3. Tag a service deprecated ... ### 5.Runtime methods, timstamp, dubbo, pid, revision, side... I think we may retain the Service registration and Feature depends on registry in registry URL. Some common serivce config is also needed, may for compatibility. And finally, there will also be many keys
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
