Thanks a lot for the reply. It is great that can get and maintain instance sequence automatically. Because from DevOps perspective, the instances management tends to be "stateless" , i.e. to ignore the differences between the individual intances.
And could you pls tell me the instance management is in which module/class in source code? I'd like to learn more details about this great functionality. Thanks & Happy Spring Festival Patrick ------------------ ???????? ------------------ ??????: "Sheng Wu"<[email protected]>; ????????: 2020??1??21??(??????) ????11:24 ??????: "dev"<[email protected]>; ????: Re: Question about service instance Reply inline. ???????? <[email protected]>??2020??1??21?? ????????10:15?????? > Dear Skywalking Dev Team, > > > I have a question about the service instance and did not find answer in > docs, so have to email here for your help. > > > Let's take the case in the discussion > https://github.com/apache/skywalking/issues/3829 as example, does the > "service instance" stand for the instance on which the service is deployed > "physically", or it is a dummy terminology in Skywalking does not match the > "physical" instances? In agent case, no matter which language agent. It is the physical instance. In serivce mesh case, It represents a pod. > > > I.e. Does it means the Service A is deployed to 3 VM instances and Service > B is deployed to 2 VM instances, or there is NO guarantee of this? > In agent case, They are. > > If yes, does it require the DevOps team to maintain sequence number of the > deployed instances for Skywalking? Or Skywalking can get and maintain the > instance sequence itself, no need the extra work for DevOps team? > No, It is automatically. > > > Also imagining the Instance 2 of Service A was kicked > out&nbsp;automatically due to a serious issue, and registered back again > after is was fixed. In such case if the sequence is still "Instance 2", or > it will be&nbsp;assigned a new sequence like "Instance 4"? In default, It will be instance 4. But you could could set UUID manually, then it will keep in the same instance which uses this UUID first. In the next 7.0.0, you even could set instance name in UUID. > > > Much appreciate, > Patrick -- Sheng Wu ???? Apache SkyWalking Apache Incubator Apache ShardingSphere, ECharts, DolphinScheduler podlings Zipkin Twitter, wusheng1108
