주식회사 누리아이티

정보자산의 보안강화를 위한 3단계 인증 보안SW(BaroPAM) 전문기업인 누리아이티

▶ Tuxedo/팁

결합도

누리아이티 2010. 5. 23. 14:18

결합도의 정도에 따라 한 모듈이 다른 모듈에 지나치게 많이 의존할 때 단단한 결합(tight coupling)이라 하며 느슨한 결합(Loose Coupling)은 서비스가 자신의 독립성을 여전히 유지하면서 다른 서비스의 정보를 요구하는 조건이다.

 

- Tightly Coupled Branches
   Two Phase Commit : Read-only Optimization
                                 [prepare for all branches, commit for last branch]
   Serialization           : Database Call

- Loosely Coupled Branches
   Two Phase Commit : Two phases
                                 [prepare and commit for all branches]
   Serialization           : None