没有合适的资源?快使用搜索试试~ 我知道了~
Design and Analysis of Distributed Algorithms
5星 · 超过95%的资源 需积分: 9 57 下载量 6 浏览量
2008-02-19
16:13:52
上传
评论
收藏 3.57MB PDF 举报
温馨提示
试读
603页
Design and Analysis of Distributed Algorithms
资源推荐
资源详情
资源评论
DESIGN AND ANALYSIS
OF DISTRIBUTED
ALGORITHMS
Nicola Santoro
Carleton University, Ottawa, Canada
WILEY-INTERSCIENCE
A JOHN WILEY & SONS, INC., PUBLICATION
Copyright © 2007 by John Wiley & Sons, Inc. All rights reserved
Published by John Wiley & Sons, Inc., Hoboken, New Jersey
Published simultaneously in Canada
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, recording, scanning, or otherwise, except as
permitted under Section 107 or 108 of the 1976 United States Copyright Act, without either the prior
written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to
the Copyright Clearance Center, Inc., 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax
(978) 750-4470, or on the web at www.copyright.com. Requests to the Publisher for permission should
be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ
07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permission.
Limit of Liability/Disclaimer of Warranty: While the publisher and author have used their best efforts in
preparing this book, they make no representations or warranties with respect to the accuracy or
completeness of the contents of this book and specifically disclaim any implied warranties of
merchantability or fitness for a particular purpose. No warranty may be created or extended by sales
representatives or written sales materials. The advice and strategies contained herein may not be suitable
for your situation. You should consult with a professional where appropriate. Neither the publisher nor
author shall be liable for any loss of profit or any other commercial damages, including but not limited to
special, incidental, consequential, or other damages.
For general information on our other products and services or for technical support, please contact our
Customer Care Department within the United States at (800) 762-2974, outside the United States at (317)
572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may
not be available in electronic formats. For more information about Wiley products, visit our web site at
www.wiley.com.
Library of Congress Cataloging-in-Publication Data:
Santoro, N. (Nicola), 1951-
Design and analysis of distributed algorithms / by Nicola Santoro.
p. cm. – (Wiley series on parallel and distributed computing)
Includes index.
ISBN-13: 978-0-471-71997-7 (cloth)
ISBN-10: 0-471-71997-8 (cloth)
1. Electronic data processing–Distributed processing. 2. Computer algorithms. I. Title. II. Series.
QA76.9.D5.S26 2007
005.1–dc22
2006011214
Printed in the United States of America
10987654321
To my favorite distributed environment: My children
Monica, Noel, Melissa, Maya, Michela, Alvin.
CONTENTS
Preface .............................................................. xiv
1. Distributed Computing Environments............................... 1
1.1 Entities......................................................... 1
1.2 Communication ................................................. 4
1.3 Axioms and Restrictions ......................................... 4
1.3.1 Axioms ................................................... 5
1.3.2 Restrictions ............................................... 6
1.4 Cost and Complexity ............................................ 9
1.4.1 Amount of Communication Activities ........................ 9
1.4.2 Time .................................................... 10
1.5 An Example: Broadcasting ...................................... 10
1.6 States and Events............................................... 14
1.6.1 Time and Events .......................................... 14
1.6.2 States and Configurations .................................. 16
1.7 Problems and Solutions () ...................................... 17
1.8 Knowledge .................................................... 19
1.8.1 Levels of Knowledge...................................... 19
1.8.2 Types of Knowledge ...................................... 21
1.9 Technical Considerations........................................ 22
1.9.1 Messages ................................................ 22
1.9.2 Protocol ................................................. 23
1.9.3 Communication Mechanism ............................... 24
1.10 Summary of Definitions......................................... 25
1.11 Bibliographical Notes........................................... 25
1.12 Exercises, Problems, and Answers ............................... 26
1.12.1 Exercises and Problems .................................. 26
1.12.2 Answers to Exercises..................................... 27
2. Basic Problems And Protocols ..................................... 29
2.1 Broadcast ..................................................... 29
2.1.1 The Problem ............................................. 29
2.1.2 Cost of Broadcasting ...................................... 30
2.1.3 Broadcasting in Special Networks .......................... 32
vii
viii CONTENTS
2.2 Wake-Up ...................................................... 36
2.2.1 Generic Wake-Up......................................... 36
2.2.2 Wake-Up in Special Networks.............................. 37
2.3 Traversal ...................................................... 41
2.3.1 Depth-First Traversal...................................... 42
2.3.2 Hacking () .............................................. 44
2.3.3 Traversal in Special Networks .............................. 49
2.3.4 Considerations on Traversal................................ 50
2.4 Practical Implications: Use a Subnet.............................. 51
2.5 Constructing a Spanning Tree.................................... 52
2.5.1 SPT Construction with a Single Initiator: Shout .............. 53
2.5.2 Other SPT Constructions with Single Initiator................ 58
2.5.3 Considerations on the Constructed Tree ..................... 60
2.5.4 Application: Better Traversal............................... 62
2.5.5 Spanning-Tree Construction with
Multiple Initiators......................................... 62
2.5.6 Impossibility Result ....................................... 63
2.5.7 SPT with Initial Distinct Values ............................ 65
2.6 Computations in Trees .......................................... 70
2.6.1 Saturation: A Basic Technique ............................. 71
2.6.2 Minimum Finding ........................................ 74
2.6.3 Distributed Function Evaluation ............................ 76
2.6.4 Finding Eccentricities ..................................... 78
2.6.5 Center Finding ........................................... 81
2.6.6 Other Computations....................................... 84
2.6.7 Computing in Rooted Trees ................................ 85
2.7 Summary...................................................... 89
2.7.1 Summary of Problems..................................... 89
2.7.2 Summary of Techniques ................................... 90
2.8 Bibliographical Notes........................................... 90
2.9 Exercises, Problems, and Answers ............................... 91
2.9.1 Exercises ................................................ 91
2.9.2 Problems................................................. 95
2.9.3 Answers to Exercises...................................... 95
3. Election .......................................................... 99
3.1 Introduction ................................................... 99
3.1.1 Impossibility Result ....................................... 99
3.1.2 Additional Restrictions ................................... 100
3.1.3 Solution Strategies ....................................... 101
3.2 Election in Trees .............................................. 102
3.3 Election in Rings.............................................. 104
3.3.1 All the Way ............................................. 105
剩余602页未读,继续阅读
资源评论
- guoxze2014-05-19非常好的讲述分布式算法的书,值得一读
drmingdrmer
- 粉丝: 1
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功