Evaluating Design 2 for Performance

Design 2 for reference

Design 2 for reference

Looking into the figure above

What do you think.. whether the performance has improved , reduced or just the same?

As you can see, this design allows us to collocate the control entities and domain entities which was not possible in design 1(with only domain entities). In the previous design, actors can never come with in the system while in the latest design the control entities can be collocated with the domain entities. If the control entities are collocated with the domain entities then the maximum remote calls of design 1 can be translated into maximum local calls which will significantly reduce the response time , there by increasing the performance by the a great factor.

But let me repeat this advantage in terms of performance can only be achieved if the control entities and domain entities are collocated. If they are still kept in different address spaces then again it will be a remote call and there will be no improvement in the performance of the system.

But let me assure I have never come across any constraint which doesn't allow a person to collocate the control entities and domain entities , hence control entities as a level of indirection will always increase the performance of the system.

 
Hemant Jha
Founder - VPlanSolutions
Researcher, Trainer

www.VPlanSolutions.co.in