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

 


------------------ ???????? ------------------
??????:&nbsp;"Sheng Wu"<[email protected]&gt;;
????????:&nbsp;2020??1??21??(??????) ????11:24
??????:&nbsp;"dev"<[email protected]&gt;;

????:&nbsp;Re: Question about service instance



Reply inline.

???????? <[email protected]&gt;??2020??1??21?? ????????10:15??????

&gt; Dear Skywalking Dev Team,
&gt;
&gt;
&gt; I have a question about the service instance and did not find answer in
&gt; docs, so have to email here for your help.
&gt;
&gt;
&gt; Let's take the case in the discussion
&gt; https://github.com/apache/skywalking/issues/3829 as example, does the
&gt; "service instance" stand for the instance on which the service is deployed
&gt; "physically", or it is a dummy terminology in Skywalking does not match the
&gt; "physical" instances?


In agent case, no matter which language agent. It is the physical instance.
In serivce mesh case, It represents a pod.


&gt;
&gt;
&gt; I.e. Does it means the Service A is deployed to 3 VM instances and Service
&gt; B is deployed to 2 VM instances, or there is NO guarantee of this?
&gt;

In agent case, They are.


&gt;
&gt; If yes, does it require the DevOps team to maintain sequence number of the
&gt; deployed instances for Skywalking? Or Skywalking can get and maintain the
&gt; instance sequence itself, no need the extra work for DevOps team?
&gt;

No, It is automatically.


&gt;
&gt;
&gt; Also imagining the Instance 2 of Service A was kicked
&gt; out&amp;nbsp;automatically due to a serious issue, and registered back 
again
&gt; after is was fixed. In such case if the sequence is still "Instance 2", or
&gt; it will be&amp;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.


&gt;
&gt;
&gt; Much appreciate,
&gt; Patrick

-- 
Sheng Wu ????

Apache SkyWalking
Apache Incubator
Apache ShardingSphere, ECharts, DolphinScheduler podlings
Zipkin
Twitter, wusheng1108

Reply via email to