Roundtripping

This smell is a special case of Empty Semi Trucks. It occurs when many fields in a user interface must be retrieved from a remote system.

Solution: Buffer all the calls together and make them in one trip. The Facade design pattern and the distributed command bean accomplish this buffering.

Related smells: Empty Semi Trucks

Reference

Smith, C. U., & Williams, L. G. (2003). More new software performance antipatterns: Even more ways to shoot yourself in the foot. Computer Measurement Group Conference.


Performance Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.