O'Reilly logo

Principles of Transaction Processing, 2nd Edition by Eric Newcomer, Philip A. Bernstein

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required