All Questions
Kafka hard

Kafka achieves massive throughput by leveraging the Linux `sendfile` system call. Which specific memory-to-memory copy operation does this architectural choice eliminate?

  1. A The copy from the CPU register file to the L1 Instruction Cache during deserialization.
  2. B The redundant copy from the 'Kernel Page Cache' to the 'Application User-Space Buffer' and back to the 'Kernel Socket Buffer'.
  3. C The copy of metadata from ZooKeeper RAM to the local disk during every fetch request.
  4. D The copy from the Network Interface Card (NIC) directly to the SSD controller without CPU intervention.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions