Skip to Content
数据库系统内幕
book

数据库系统内幕

by Alex Petrov
May 2020
Beginner to intermediate
319 pages
7h 3m
Chinese
China Machine Press
Content preview from 数据库系统内幕
272
第二部分总结
性能和扩展性是数据库系统的重要属性。存储引擎和节点本地的读写路径可能会对系统
性能
产生较大影响:决定在本地能够多快地处理请求。同时,负责集群内通信的子系统
通常对数据库的
扩展性
产生较大的影响:决定集群大小和容量的上限。但是,如果一个
存储引擎缺乏扩展性,其性能随着数据集的增长而下降,那它也只能用于有限的场景。
若把很慢的原子提交协议构建在最快的存储引擎上,也不会产生好的结果。
分布式的、集群范围的以及本地节点上的进程是相互联系的,必须整体地考虑。设计数
据库系统时,你必须考虑不同子系统如何配合协作。
第二部分首先讨论了分布式系统与单节点应用程序的不同,以及在分布式环境下会遇到
哪些困难。
我们讨论了分布式系统的基本构成、各种一致性模型以及几个重要类别的分布式算法,
其中一些可用于实现这些一致性模型:
故障检测
准确且高效地识别远程进程的故障。
领导者选举
快速且可靠地选择一个进程作为临时协调者。
消息传播
使用点到点通信可靠地分发信息。
反熵
识别并修复节点间的状态差异。
第二部分总结
|
273
分布式事务
在多个分区上原子地执行一系列操作。
共识
在远程参与者之间达成一致,并且能容忍一定程度的进程故障。
这些算法被用在许多数据库系统、消息队列、调度器等重要的基础架构软件中。利用本
书中的知识,你能更好地了解它们的工作方式,从而帮助你更好地决定应当使用哪个软 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787111655169