Skip to Content
Kafka权威指南
book

Kafka权威指南

by Neha Narkhede, Gwen Shapira, Todd Palino
January 2018
Beginner to intermediate
234 pages
7h 8m
Chinese
Posts & Telecom Press
Content preview from Kafka权威指南
166
10
一粒老鼠屎
一个
broker
的磁盘问题可能会影响到整个集群的性能。因为生产者客户端会
连接到所有的
broker
上,如果操作得当,这些
broker
的分区几乎能够均等
地分布在整个集群里。如果一个
broker
性能出现衰退并拖慢了处理请求的速
度,就会导致生产者的回压,从而拖慢发给所有
broker
的请求。
假设你正在通过
IPMI
或其他硬件管理接口来监控磁盘的状态,与此同时,在操作系统上
运行了
SMART
Self-Monitoring, Analysis and Reporting Technology
,自行监控、分析和报
告技术)工具来监控和测试磁盘。在故障即将发生时,它会发出告警。除此之外,还要注
意查看磁盘控制器,不管是否使用了
RAID
硬件都要注意查看。很多磁盘控制器都有板载
的缓存,这个缓存只在控制器和电池备份单元(
BBU
)正常工作时才会被使用。如果
BBU
发生故障,缓存就会被禁用,磁盘的性能就会衰退。
在网络方面,局部的故障也会带来很大的问题。有些问题是硬件引起的,比如糟糕的光缆
或连接器。有些问题是配置不当造成的,比如更改了服务器或上游网络硬件的网络连接速
度和双工设置。网络配置问题还有可能出现在操作系统上,比如网络缓冲区太小,或者太
多的网络连接占用了大量的系统内存。在这方面,网络接口的错误数量是一个最为关键的
指标。如果这个数字一直在增长,说明网络连接出现了问题。
如果硬件没有问题,那么需要注意系统里的其他应用程序,它们也会消耗系统的资源,而
且有可能会给
Kafka
带来压力。它们有可能是没有被正常安装的软件 ...
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

精通機器學習

精通機器學習

Aurélien Géron
精通特征工程

精通特征工程

Alice Zheng, Amanda Casari
高效能PYTHON程式設計

高效能PYTHON程式設計

Micha Gorelick, Ian Ozsvald

Publisher Resources

ISBN: 9787115473271