Chapter 2

Transaction Processing Abstractions

2.1 Introduction

This chapter discusses five software abstractions that are used heavily in TP systems:

■ Transactions

■ Processes and threads

■ Remote procedure calls

■ Transaction context, sessions, and other techniques for managing shared state

■ Caching, resource pooling, partitioning, and replication

These abstractions involve both the application programming interface and mechanisms to support it. Understanding them is fundamental to developing and engineering a TP system.

We start with the transaction abstraction, where we focus on the semantics of the programming model. We present pseudocode that illustrates how a transaction is delimited and thus establishes the relationship between a program ...

Get Principles of Transaction Processing, 2nd Edition 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.