没有合适的资源?快使用搜索试试~ 我知道了~
Principles of Transaction Processing
需积分: 31 19 下载量 68 浏览量
2011-06-17
19:54:48
上传
评论
收藏 5.79MB PDF 举报
温馨提示
Principles of Transaction Processing
资源推荐
资源详情
资源评论
Morgan Kaufmann Publishers is an imprint of Elsevier
30 Corporate Drive, Suite 400, Burlington, MA 01803, USA
Copyright © 2009 by Elsevier Inc. All rights reserved.
Designations used by companies to distinguish their products are often claimed as trademarks or
registered trademarks. In all instances in which Morgan Kaufmann Publishers is aware of a claim,
the product names appear in initial capital or all capital letters. All trademarks that appear or are
otherwise referred to in this work belong to their respective owners. Neither Morgan Kaufmann
Publishers nor the authors and other contributors of this work have any relationship or affiliation
with such trademark owners nor do such trademark owners confirm, endorse or approve the contents
of this work. Readers, however, should contact the appropriate companies for more information
regarding trademarks and any related registrations.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any
form or by any means—electronic, mechanical, photocopying, scanning, or otherwise—without
prior written permission of the publisher.
Permissions may be sought directly from Elsevier’s Science & Technology Rights Department
in Oxford, UK: phone: (44) 1865 843830, fax: (44) 1865 853333, E-mail: mail to:
permissions@elsevier.com
. You may also complete your request online via the Elsevier
homepage (http://www.elsevier.com), by selecting “Support & Contact” then “Copyright and
Permission” and then “Obtaining Permissions.”
Library of Congress Cataloging-in-Publication Data
Bernstein, Philip A.
Principles of transaction processing/Philip A. Bernstein, Eric Newcomer.—2nd ed.
p. cm.—(The Morgan Kaufmann series in data management systems)—(The Morgan Kaufmann series in data management systems)
Includes bibliographical references and index.
ISBN 978-1-55860-623-4 (pbk.)
1. Transaction systems (Computer systems) I. Newcomer, Eric. II. Title.
QA76.545.B47 2009
005.745–dc22
2009003605
For
information on all Morgan Kaufmann publications,
visit our Web site at www.mkp.com or www.elsevierdirect.com
Printed
in the United States of America
09 10 11 12 13 5 4 3 2 1
For Jim Gray, wherever he may be
Why read this book?
Transaction processing has been an important software technology for 40 years. Large enterprises in transpor-
tation, finance, retail, telecommunications, manufacturing, government, and the military are utterly dependent
on transaction processing applications for electronic reservations, banking, stock exchanges, order processing,
music and video services, shipment tracking, government services, telephone switching, inventory control, and
command and control. Many large hardware and software vendors receive much of their revenue from compo-
nents of transaction processing systems, such as IBM, HP, Oracle, Microsoft, Dell, Red Hat, and EMC. The
market for transaction processing products and services is many tens of billions of dollars per year. As con-
sumers, we all use this technology every day to withdraw cash, buy gas, rent movies, and make purchases on
the Internet.
How exactly do these transaction processing systems work? This question was once of interest only to com-
puter professionals in the commercial data processing field. Now, given the widespread use of transaction pro-
cessing in today’s economy, it is of interest to a much broader engineering audience. Despite this interest, there is
little written for a system professional to get a readable, technically solid introduction to this complex technology.
This book fills the gap.
The software environment of most large-scale transaction processing systems is based on transactional mid-
dleware, which helps knit together many software components. These components include front-end applications
to drive web browsers and other devices, middle-tier applications to route requests to the server that can run
them, and server applications that execute business logic. Examples of transactional middleware include IBM’s
CICS; Microsoft’s .NET Enterprise Services; and Java Enterprise Edition products, such as IBM WebSphere
Application Server, Oracle’s WebLogic Server, and Red Hat’s JBoss Application Server. The first half of this
book focuses on transactional middleware technology.
For many software engineers, transactional middleware is obscure technology—strange software glue that
seems to be needed beyond operating systems, database systems, communication systems, and application pro-
gramming languages. This book demystifies transactional middleware by explaining how it contributes to the
performance, security, scalability, availability, manageability, and ease-of-use of transaction processing systems.
The first half of the book explains transactional middleware outside and in—the features it offers to application
programmers and how it is constructed to offer these features.
The transaction abstraction itself is largely implemented by database systems. They ensure that each trans-
action executes in its entirety, is isolated from interference by other transactions, and generates results that will
survive hardware and software failures. This behavior is implemented by locking, logging, communication
protocols, and replication. These technologies are the subject of the second half of this book.
This book is an introduction to transaction processing, intended to meet the needs of a broad audience,
including:
n Application programmers with an interest in building transaction processing applications
n Database administrators who manage database systems used for transaction processing
n Application analysts who design applications for deployment on transaction processing systems
n Product developers in related areas, such as database systems, operating systems, and communications
Preface
xii Preface
n Marketing and technical support engineers for both systems and application products
n Computer science undergraduates and graduate students looking for an introduction to this topic
Our focus is on the principles of transaction processing, not on a prescription for how to build a transaction
processing application—“how come?” not “how to.” We include examples from many products, to illustrate
how the principles have been applied and where ideas originated. But we do not dwell heavily on any one
product. We present technology that is practical and used in products and pay only modest attention to good
ideas that are not commonly used in practice.
We do not assume any special prerequisites, other than “system sophistication.” We expect most readers
will have some familiarity with SQL and database systems, but this background isn’t necessary.
After finishing the book, you will understand how transactional middleware works and when to use it, and
how transactional middleware and database systems work together to support reliable distributed transaction
processing applications. You will be able to learn quickly how to use any transactional middleware product or
database system to support the development and management of transaction processing applications.
What’s NeW iN this secoNd editioN?
The short answer is “a lot.” There are several new chapters and rewritten chapters, and many new and revised
sections of the rest.
Two main goals drove these changes. Our first goal was to present the new and revised transaction archi-
tectures and technologies that have appeared since we published the first edition twelve years ago. Back then,
Internet-based electronic commerce was just beginning. Now, it is established as a major segment of many
business-to-consumer and business-to-business markets. The growth of this segment, along with the com-
moditization of server hardware and operating systems, has led to major changes in transaction processing
products. Web browsers are now a dominant technology for interacting with transaction processing systems.
Transactional middleware has evolved from on-line transaction processing monitors to many new product cat-
egories that are designed to work well over the Internet, such as application servers, object request brokers,
message-oriented middleware, and workflow systems. Object-oriented programming and service-oriented
architecture have become mainstream. And database systems have become more complete transaction process-
ing environments. These changes are all reflected in this second edition.
Our second main goal was to add coverage and depth of classical transaction processing topics, to make the
book more complete. In part, this is based on the first author’s experience in using the book as a textbook for a
graduate computer science course for professional masters’ students at the University of Washington. It is also
in response to technological improvements, where formerly exotic technologies are now widely used.
Concretely, the major changes are as follows: The three chapters on transactional middleware have been
entirely rewritten—two on principles and a long one on example products and standards, including details of
Java Enterprise Edition and Microsoft .NET. There is a new chapter on business process management. The
chapter on locking has new sections on optimistic concurrency control, B-tree locking, multigranularity locking,
and nested transactions. There are new sections on the TPC-E benchmark, state management, scalability,
shadow-paging, data sharing systems, consensus algorithms, log-based replication, and multimaster replica-
tion. Concepts of service-oriented architecture (SOA), REST, and Web Services are sprinkled throughout the
book. There are numerous smaller additions of technical detail in many sections. Significant changes can be
found in every chapter.
Supplementary material will be available on the publisher’s web page for this book. Initially, it will include
a selection of problems, grouped by chapter. We will add other technical material over time.
剩余380页未读,继续阅读
资源评论
WUSHAOHONGSHIHUO
- 粉丝: 3
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功