Microservices MSCallGraph: DMs are service instances or not
Hi, I am trying to reconstruct the call graphs and have a question. Thank you in advance! Any help is sincerely appreciated!
If we have the two rows in the MSCallGraph dataset, 1.3.1 <um, dm1>, and 1.3.2 <um, dm2> and the dm1 and dm2 both have the same name, does it mean different instances of one microservice or the same instance? Without the instanceid, we can’t really tell. This question is very important particularly when we analyze the structure of call graphs. For example, for the drawing below, there are completely two different ways to reconstruct the call graph.
Thanks for your interest. dm1 and dm2 could have the same or different instanceIDs, as a microservice typically has hundreds to thousands of instances. Since load balancing is used in the microservices system among their instances, it is not necessary to distinguish the instance for the same microservice in a call graph.
Thank you! Speaking of instanceid, here is another related question:
In the README, it seems that the MS_CallGraph_Table should contain UM_instanceid and DM_instanceid, but the MS_CallGraph’s schema only contains the name of UM and the name of DM. If the instanceid is missing, how should we join the MS_Metrics_Table with MS_CallGraph_Table?
Thank you!
Thanks for your interest. We did not release the instanceID in MS_CallGraph_Table. Sorry for the typo in README.