You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "Malik, Shibha (GE Renewable Energy, consultant)" <Sh...@ge.com> on 2018/06/28 22:00:45 UTC

Kafka leans heavily on the OS pagecache for data storage ?

"Finally Kafka leans heavily on the OS pagecache for data storage. Although the question says that kafka writes to disk immediately, that is not completely true. Actually Kafka just writes to the filesystem immediately, which is really just writing to the kernel's memory pool which is asynchronously flushed to disk"

Is this true and that is the main reason eventhough kafka uses disk to store data is still faster than a lot of in-memory message queues ?