answersLogoWhite

0


Best Answer
Mutually Dependent SystemsPosted in Architecture, Development, Modeling by Homam Hosseini on March 11, 2010

In this post I am discussing a problem that I have faced several times in the past year. Simplicity is always a goal in design as it saves resources during development and maintenance. But it's not always clear which design is simpler. Sometimes a seemingly complex design turns out to be simpler to develop, maintain and extend.

In a master-slave architecture, assume S1 is the master. It produces one or more tasks form a given job and transfers them to S2 (the slave); S2 does the tasks and return the results back to S1. S2, the slave, depends on S1, the master.

If the next time that S1 assigns a task to S2 it uses the information that exists in the result of a previous task that had been assigned to S2 then S1 also depends on S2 and we have a mutually dependent couple.

In our terminology the systems are mutually dependent if and only if S1 uses the information it gained as a result of a previous task that it had already assigned to S2. It doesn't matter if S2 has completed the previous task or not, but it should have reported something to S1 that is useful for S1 for a next assignment of a task to S2.

If S1 is only using the fact that S2 is busy or free then we don't call it a mutual dependency. S1 must use the information that is generated by processing a task at S2. For example a MapReduce system is not a mutually dependent system.

Why is it important? You should have already guessed that S2 is the name of a class of slave systems that work with S1. There could be many instances of S2. Let's define a homogenous mutually dependent system as a system that in which all slaves of S1 are in the same class.

Two slaves are of the same class if they share a common interface for communicating with S1.

Now assume that S3 is also a slave for S1. S3 is in a different class other than S2 if either its input or its output interface is different from S2′s.

When designing mutual dependent systems we have to always decide whether to keep the mutual dependencies or to break them by introducing new nodes. It's mainly a decision over complexity. The other factor that may affect your decision is the swiftness of the system. Introducing a new node will usually reduce the responsiveness.

Breaking the mutual dependency by using S4 node. Note that S3 is another class and uses a different interface to communicate with S4.

For instance a new node must not be added if S1 waits for S2 to return. Generally you should try to keep the number of nodes as small as possible if the operations are not asynchronous.

Homogenous mutual dependency is OK (when the systems are simple and synchronous) but things get much dirtier as we introduce new classes to the system. On the other hand if extensibility is a goal you should try to avoid mutual dependencies.

For a conclusion, use mutual dependent systems in live systems, when a rapid response is required, and try to avoid them by introducing middle nodes if you have many classes of slaves or if extensibility is a goal.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What does mutually dependent mean?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the definition of interdepedence?

It is an adjective which means mutually dependent- dependent upon one another.


Are dependent events always mutually exclusive?

Yes.


What is the definition of the word interdependent?

The term interdependent is an adjective meaning mutually dependent; relating to two or more people or things dependent on each other. Synonyms include mutualist and mutually beneficial.


What are the size of lichens?

They are made of two mutually dependent organisms. (Hope that helps!)


What is the definition of interdependce?

Mutually dependent, meaning you depend on someone else or something for your benefit.


What 3 ideals are mutually dependent and guide?

Army value soldiers creed and ethos


If two events are mutually exclusive then they must be dependent?

No, if two events are mutually exclusive, they cannot both occur. If one occurs, it means the second can not occur.


Which one is more convienent mutually exclusive or non mutually?

It must be "mutually exclusive" since "non mutually" does not even mean anything!


Are construction projects which have a common support purpose but are not mutually dependent funded as separate projects?

yes


Give you a picture of interdependent?

Being mutually dependent. For example, countries trading with each other become dependent on the products or goods received from the other country.


Are mutually exclusive events independent?

Not necessarily. In fact, in binary situations they can be totally dependent - depends on the experiment.


What is domestic interdependence?

Domestic: of or involving the home or familyInterdependenceis a relationship in which each member is mutually dependent on the others.