Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By : Mike Liu
Book Image

WCF Multi-layer Services Development with Entity Framework - Fourth Edition

By: Mike Liu

Overview of this book

Table of Contents (20 chapters)
WCF Multi-layer Services Development with Entity Framework Fourth Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
2
Hosting the HelloWorld WCF Service
Index

Trade-offs of distributed transactions


Now, you have learned how to turn on distributed transaction support for a WCF service. Before you dive into the world of distributed transaction in your real-work environment, you need to be aware that distributed transaction support will impact your applications in a few areas, sometimes maybe significantly.

The following is a list of some of the impacts of using distributed transactions:

  • Distributed transactions might introduce more complexity to your applications

  • Distributed transactions might decrease the performance of your applications

  • Distributed transactions might increase the deadlock probability of your processes

You should analyze your requirements, consider all the pros and cons of turning the distributed transaction support on, and then make your own judgment for your applications.