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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access