Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Link to discussion


Current state: Under Discussion

Discussion thread: here [Change the link from the KIP proposal email archive to your own email thread]


More concretely, benchmarking a MetadataResponse (just the body, excluding the header) containing a single 100 partition topic replicated across two brokers suggests that:

EncodingSize/byteStruct Serialize/µsStruct Deserialize/µsBuffer Serialize/µsBuffer Deserialize/µs
variable (best case)117065,22614,7137,66710,155
variable (worst case)402681,32814,75521,40017,681

The worst case would occur if the cluster had brokers with ids greater than 134,217,727, and for topics with more than that many partitions and where the error code was >255.