Protocol buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data in a manner that is similar to XML but is smaller, faster, and simpler. They define the structure of data and then generate source code to easily write and read your structured data to and from various data streams in various languages.
Source: https://ondemandelearning.cisco.com/cisco-cte/spaui10/sections/3/pages/2
Google developed Protocol buffers (or Protobuf for short) to serve as the main language to define both the gRPC message format and RPC calls. Protocol buffers are one of the core technologies developed and used by Google to serialize data for communication between the elements of highly loaded systems. The reason they are so efficient has to do with the way the data is encoded for transmission: Only key indexes, data types, and values are converted to binary format and sent over the wire
Indexes: The schema identifies an index associated with each variable name, as the names aren’t included in the Protobuf message sent over the wire. It is the indexes that are included. This is very different from XML and JSON data formats, where the actual key names are transferred. The indexes are both an advantage and a disadvantage of the Protobuf: On the one hand, they allow you to save a lot of bandwidth on the wire, especially in bandwidth-hungry applications such as streaming telemetry.
Protobuf is the most compact of the options
Ref: https://blog.mbedded.ninja/programming/serialization-formats/a-comparison-of-serialization-formats/#file-size-comparison
This section is not available anymore. Please use the main Exam Page.300-535 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
nerdymarwa
10 months, 1 week agokaren1337
1 year agoworking_on_hcip
1 year, 1 month agocharlesch
2 years, 11 months agoall4Luv
3 years, 7 months agoarthurb
3 years, 6 months ago