Linux News Today features the latest news from the global Linux community. This site is updated daily. Click here to return to our homepage. Get the lowest cost and the best tech support on any Linux web hosting plan. Click here for details.
                                          home   |   news archives   |   linux forum   |   advertise on our site   |   contact


Promote your company. Reach over 450,000 Linux software developers, Linux users, Web hosting companies, etc. Boost your sales and promote your brand. Read more, click here.

Get all the details by clicking here!




Install your server in Sun Hosting's modern colocation center in Montreal. Get all the details by clicking here.

Google open-sources its protocol buffers

Add to del.icio.us     Digg this story Digg this

July 9, 2008

Google says it has open-sourced its protocol buffers, the search giant's system for encoding various types of data, in order to set the stage for a new wave of releases.

A FAQ page on Google's site says "practically everyone inside Google uses protocol buffers. We have many other projects we would like to release as open source that use protocol buffers, so to do this, we needed to release protocol buffers first."

Google says the XML (extensible markup language) isn't very efficient enough for the company's data-sharing needs. "When all of your servers and network links are running at full capacity, XML is a very expensive and rather cumbersome proposition," said Google.

Kenton Varda, a member on Google's software engineering team said "we use thousands of different data formats to represent networked messages between servers, index records in repositories, geospatial datasets and more."

"Most of these data formats are well structured, not flat. This raises an important question: How do we encode them all?" added Varda.

"The answer is with protocol buffers. You simply define how you want your data to be structured once, then you can use specially generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of programming languages," according to a documentation page.

The page continues with: "you can even update your data structure without breaking deployed programs that are compiled against the old format."

However, XML still has some advantages for certain specific tasks, according to the documentation: "Protocol buffers wouldn't be an efficient way to model a text-based document with a markup language such as HTML, since you cannot easily interleave structure within text. In addition, XML is human-readable and human-editable. For the most part, protocol buffers, at least in their native format, are not."

On average, protocol buffers are three to ten times smaller and about twenty to one-hundred times faster than XML, according to Google.

The company has prepared a download page that contains protocol buffer compilers for Java, C++ and the Python language.

Source: Search Engines Today.

Add to del.icio.us     Digg this story Digg this

Article featured on Tech Blog and on Business 5.0

This article was featured on Tech Blog and Business 5.0.











ADVERTISERS:
Linux News Today.org is read by over 450,000 people involved in the field of Linux application development, professional Web hosting services, Linux security, Linux Web development, etc. Inquire about our reasonable advertising rates on our news website. One of our advertising representatives will be in touch with you. Simply email us to learn about our ad rates and how we can help drive relevant traffic to your website. Advertising space is limited.



                      Site powered by Linux Hosting            Sponsored by DMZ eMail, by Sun Hosting and by MWD            Linux news while they are still fresh.    © Linux News Today.org