Which service is the parent?

Robert Campbell
Tera Guru

This ever-frustrating topic that keeps coming up when discussing relationships with my colleagues. 

 

You have "This Service" which provides a hosts of functionality.  You then create "That Service" which adds more functionality to "This Service".  My thought is "This Service" is the parent and "That Service" is the child.

 

As a reference and example:

RobertCampbell_0-1668609723967.png

Although you read this as "Tomcat Runs on Linux server", does that mean Parent "Runs on" Child and Child "Runs" Parent?  That doesn't sound right.  I would think this represents the parent is the "Runs" ci because the Linux server Runs Tomcat.  

 

Logically, you can't have a child w/o a parent.  I guess you can, it would be orphaned but at the beginning, the child needs a parent, the parent doesn't need the child.  So the one that doesn't need the other (to me) is the parent.  Tomcat needs a server to run on so the Linux server is the parent.  Similarly, a microservice needs a service to be a micro to so the microservice is the child of the service that it provides extra functionality to.

 

Of course that microservice can be a parent to an outside service or a lower-level microservice but within it's own house, it will always be the child.

 

The question is, how exactly is ServiceNow representing it because this looks like the Linux server is the child of application servers.

RobertCampbell_1-1668610609683.png

Is this showing top to bottom, grandparent, parent, child or bottom to top?

 

 

0 REPLIES 0