TLDR;

  • Minimise usage of field numbers > 15
  • Use packed option for long repeated fields
  • Embedded Messages are wrapped with metadata of higher level messages

Background

Protobuffers is an encoding mechanism for message sending between servers & services. It is highly popular at many companies mainly because of its great performance in terms of

(1) encoding & decoding speed &