Slide 21
Slide 21 text
`sendfile` could block
21
•However, consumers sometimes try to read old data for catch-up
•If the data about to be copied by `sendfile` is not in page cache, it's necessary
to read the data from the device (HDD), which is significantly slow
•refs: https://logmi.jp/tech/articles/320330
"Multi-Tenancy Kafka cluster for LINE services with 250 billion daily messages"
Producer
Page
Page
...
Write
Consumer
Read
Log segment file