Creating MTS-Based Applications
One of the key goals in transaction-based applications is to perform a transaction as quickly as possible. When the transaction is occurring, database systems place locks on the data to prevent other applications from looking at intermediate data.
Locking prevents concurrency, which is a detriment to scalability. To improve scalability, you must design your objects so that they do not spend much time in the actual transaction. Essentially, this can be best accomplished by method calls with finer granularity. Granularity is discussed at length in Chapter 20, and transaction optimization is discussed in Chapter 16, "COM+ as a Component Manager."
Two aspects determine the longevity of a transaction. One involves the ...
Get COM+ Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.