Skip to content

kafaka | 世界不可能那么远 #11

@xuanskyer

Description

@xuanskyer

https://hexo.qtter.com/2022/01/26/mq/kafka/index/

kafka 架构图 关于Kafka 的问题kafka 是怎么做到 高吞吐率、速度快的?顺序读写partition 并行处理Page Cache零拷贝mmap、sendfile Producer生产的数据持久化到broker,采用mmap文件映射 Customer从broker读取数据,采用sendfile,将磁盘文件读到OS内核缓冲区后,直接转到socket buffer进行网络发送。用户缓冲区、

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions