Gleichzeitige Schreibvorg?nge verbessern? Disk io kann jeweils nur eine Datei schreiben, oder? Kann das gleichzeitige Lesen verbessert werden? Disk io kann jeweils nur eine Datei lesen, oder?
Einzelne Schreibgeschwindigkeit verbessern? Es scheint nichts mit der Partitionierung zu tun zu haben, oder?
Einzellesegeschwindigkeit verbessern? W?re es nicht mit mehreren Segmenten zu l?sen?
原答案:難道不是topic的擴展能力嗎?不然單topic的容量只能限制在物理機上了
更新后的答案:
The partitions in the log serve several purposes. First, they allow the log to scale beyond a size that will fit on a single server. Each inpidual partition must fit on the servers that host it, but a topic may have many partitions so it can handle an arbitrary amount of data. Second they act as the unit of parallelism—more on that in a bit.
官方文檔(見上文)。
partitions 主要有兩個目的,1 增強擴展能力,讓其可以處理任意多的數據 2 作為并行單元,提高并行能力(主要鑒于此點考慮)。
第一次回答我只記住第一點了~~sorry