Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 1.2 KB

WhyKafkaSoFast.md

File metadata and controls

12 lines (10 loc) · 1.2 KB

Why Kafka is so fast?

Kafka is based on Log Based Queue

Why reading from Kafka is so fast?

  • Reading data out of Kafka is very fast thanks to java.nio.channels.FileChannel#transferTo.
  • This method uses sendFile system call which allows for very efficient transfer of data from a file to another file (including sockets).