You are previewing Principles of Transaction Processing.
O'Reilly logo
Principles of Transaction Processing

Book Description

Principles of Transaction Processing is a clear, concise guide for anyone involved in developing applications, evaluating products, designing systems, or engineering products. This book provides an understanding of the internals of transaction processing systems, describing how they work and how best to use them. It includes the architecture of Web Application Servers, transactional communications paradigms, and mechanisms for recovering from transaction and system failures.

The use of transaction processing systems has changed in the years since publication of the first edition. Electronic commerce has become a major focus for business data processing investments, from banking and stock purchase on the web, to eBay auctions, to corporate database management. New standards, new technology and products, and new languages allow web services and SOA to become the leading style of design for enterprise applications. And with the help of this book and its rich examples, you will be able to produce the state-of-the-art applications discussed within.

For more information check out Eric Newcomer's blog:

http://ericnewcomer.wordpress.com/2009/05/15/what-we-learned-writing-the-second-edition-of-the-tp-book/



  • Complete revision of the classic "non mathematical" transaction processing reference for systems professionals.
  • Updated to focus on the needs of transaction processing via the Internet-- the main focus of business data processing investments, via web application servers, SOA, and important new TP standards.
  • Retains the practical, non-mathematical, but thorough conceptual basis of the first edition.
  • Table of Contents

    1. Cover image
    2. Title page
    3. Table of Contents
    4. Copyright
    5. Dedication
    6. Preface
      1. Why Read this Book?
      2. What’s New in this Second Edition?
      3. Summary of Topics
      4. Guidance for Instructors
      5. Acknowledgments
    7. Trademarks
    8. Chapter 1. Introduction
      1. 1.1 The Basics
      2. 1.2 TP System Architecture
      3. 1.3 Atomicity, Consistency, Isolation, and Durability
      4. 1.4 Two-Phase Commit
      5. 1.5 Transaction Processing Performance
      6. 1.6 Availability
      7. 1.7 Styles of Systems
      8. 1.8 TP System Configurations
      9. 1.9 Summary
    9. Chapter 2. Transaction Processing Abstractions
      1. 2.1 Introduction
      2. 2.2 Transactions
      3. 2.3 Processes and Threads
      4. 2.4 Remote Procedure Call
      5. 2.5 Shared State
      6. 2.6 Scalability
      7. 2.7 Summary
    10. Chapter 3. Transaction Processing Application Architecture
      1. 3.1 Introduction
      2. 3.2 Application Architecture
      3. 3.3 Front-End Program
      4. 3.4 Request Controller
      5. 3.5 Transaction Servers
      6. 3.6 Transactional Middleware
      7. 3.7 Database Servers Versus Transactional Middleware
      8. 3.8 Summary
    11. Chapter 4. Queued Transaction Processing
      1. 4.1 Why Use Queues?
      2. 4.2 The Queued Transaction Processing Model
      3. 4.3 Client Recovery
      4. 4.4 Handling Non-Undoable Operations
      5. 4.5 The Queue Manager
      6. 4.6 Publish-Subscribe
      7. 4.7 Other Message-Oriented Middleware
      8. 4.8 Queuing Products and Standards
      9. 4.9 Summary
    12. Chapter 5. Business Process Management
      1. 5.1 Introduction
      2. 5.2 Business Process Definition
      3. 5.3 Business Process Execution
      4. 5.4 Transactional Properties
      5. 5.5 Making Process State Durable
      6. 5.6 Other Models of Business Processes
      7. 5.7 Products and Standards
      8. 5.8 Summary
    13. Chapter 6. Locking
      1. 6.1 Introduction
      2. 6.2 Implementation
      3. 6.3 Deadlocks
      4. 6.4 Performance
      5. 6.5 Hot Spots
      6. 6.6 Query-Update Problems
      7. 6.7 Avoiding Phantoms
      8. 6.8 Optimistic Concurrency Control
      9. 6.9 B-Tree Locking
      10. 6.10 Multigranularity Locking
      11. 6.11 Locking Nested Transactions
      12. 6.12 Summary
      13. 6.13 Appendix: Basic Serializability Theory
    14. Chapter 7. System Recovery
      1. 7.1 Causes of System Failure
      2. 7.2 A Model for System Recovery
      3. 7.3 Introduction to Database Recovery
      4. 7.4 The System Model
      5. 7.5 Database Recovery Manager
      6. 7.6 Shadow-paging Algorithm
      7. 7.7 Log-based Database Recovery Algorithms
      8. 7.8 Optimizing Restart in Log-based Algorithms
      9. 7.9 Media Recovery
      10. 7.10 Summary
    15. Chapter 8. Two-Phase Commit
      1. 8.1 Introduction
      2. 8.2 The Two-Phase Commit Protocol
      3. 8.3 Failure Handling
      4. 8.4 Optimizations and Variations
      5. 8.5 Process Structuring
      6. 8.6 User Checklist
      7. 8.7 Summary
    16. Chapter 9. Replication
      1. 9.1 Introduction
      2. 9.2 Replicated Servers
      3. 9.3 Synchronizing Updates to Replicated Data
      4. 9.4 Single-Master Primary-Copy Replication
      5. 9.5 Multimaster Replication
      6. 9.6 Other Replication Techniques
      7. 9.7 Data Sharing Systems
      8. 9.8 Summary
    17. Chapter 10. Transactional Middleware Products and Standards
      1. 10.1 Introduction
      2. 10.2 Web Browser Front-End Programs
      3. 10.3 .NET Framework
      4. 10.4 Java Enterprise Edition
      5. 10.5 Service-Oriented Architecture
      6. 10.6 Persistence Abstraction Mechanisms
      7. 10.7 Legacy TP Monitors
      8. 10.8 TP Standards
      9. 10.9 Summary
    18. Chapter 11. Future Trends
      1. 11.1 Introduction
      2. 11.2 Cloud Computing
      3. 11.3 Scalable Distributed Computing
      4. 11.4 Memory Technology
      5. 11.5 Streams and Event Processing
      6. 11.6 Summary
    19. Glossary of Acronyms
    20. Bibliographic Notes
    21. Bibliography
    22. Index