Google released its internal data language nearly 100 times faster than XML

Source: Internet
Author: User
On Monday, Google released the company's open-source data description language protocol buffers ". Protocol buffers is similar to XML, but it is simple, compact, and fast.

Chris dibonap, Google's open-source project manager, said in his blog that "Almost all structured information we transmit over the network or store on disks uses this language. We believe that Protocol buffers is of great benefit to others, so we decided to release it as an open source software ."

Kenton Varda, Google's software engineer, said on the open-source blog that Google uses thousands of different data formats, most of which are structured data formats. Using XML to process these massive structured data seems powerless, So Google developed protocol buffers.

Valda compares protocol buffers to an interface Description Language (IDL) without the complexity of IDL. "One of the main design goals of protocol buffers is conciseness, as is the case with reality," Valda said. Protocol buffers is not only powerful, but also at least an order of magnitude faster than XML ."

According to Google Documents, compared with comparable XML files, the Protocol buffers file is 2-9 times smaller, and the resolution speed is 19-99 times faster.

Google also said it plans to release more other software projects as open-source software in the future. Because all these projects will use protocol buffers, protocol buffers will be released first.

Http://code.google.com/p/protobuf/

License: Apache license 2.0

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.