SHARE
Facebook X Pinterest WhatsApp

A Look at Google’s Open Source Protocol Buffer

For most organizations Extensible Markup Language, or XML (define), is the lingua franca for data interchange. Apparently XML alone isn’t fast enough for Google (NASDAQ: GOOG), so Google went off and developed its own data format, called Protocol Buffers. This effort has been in development at Google since 2001. It’s now available as an open […]

Jul 14, 2008
Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

For most organizations Extensible Markup Language, or XML (define), is the lingua franca for data interchange. Apparently XML alone isn’t fast enough for Google (NASDAQ: GOOG), so Google went off and developed its own data format, called Protocol Buffers.

This effort has been in development at Google since 2001. It’s now available as an open source project Google hopes others will use and contribute toward. Protocol Buffers could ultimately replace XML in some cases as a speedier format for data interchange.

“We do know that we will be using it ourselves in some of our upcoming projects,” Google developer Kenton Varda said. “This is not a piece of software that is unimportant to the company.”

Google’s documentation on Protocol Buffers noted that the new format has numerous advantages over XML. Among the advantages cited by Google is the fact that Protocol Buffers could be 3 to 10 times smaller and 20 to 100 times faster than XML for serializing structured data.

“You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages,” Google’s documentation states.

Currently Google is using Protocol Buffers for its internal Remote Procedure Calls, or RPC(define), protocols and file formats.

According to Google’s documentation, protocol buffers were initially developed at Google to deal with an index server request/response protocol.

Chris DiBona, Google’s program manager for open source, noted Google encodes almost any sort of structured information that needs to be passed across the network or stored on disk using this protocol.

This article was first published on InternetNews.com. To read the full article, click here.

  SEE ALL
ARTICLES
 
SMK

Sean Michael Kerner is an Internet consultant, strategist, and contributor to several leading IT business web sites.

Recommended for you...

Best Open Source Software List For Data Management In 2024
Kaye Timonera
May 7, 2024
34 Top Open Source Software Companies Shaping 2024
Kaye Timonera
Mar 21, 2024
Open Source CRMs: 10 Best Open Source Software Solutions for 2024
What is Data Scraping? Definition & How to Use it
Anina Ot
Sep 11, 2023
Datamation Logo

Datamation is the leading industry resource for B2B data professionals and technology buyers. Datamation's focus is on providing insight into the latest trends and innovation in AI, data security, big data, and more, along with in-depth product recommendations and comparisons. More than 1.7M users gain insight and guidance from Datamation every year.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.