• IS BSON LIKE PROTOCOL BUFFERS?

    Protocol buffers, sometimes also referred to as protobuf, is Google’s way of encoding structured data for effi cient transmission. Google uses it for all its internal Remote Procedure Calls (RPCs) and exchange formats. Protobuf is a structured format like XML but it’s much lighter, faster, and more effi cient. Protobuf is a languageand platform-neutral specifi cation and encoding mechanism, which can be used with a variety of languages. Read more about protobuf at http://code.google.com/p/protobuf/.
    BSON is similar to protobuf in that it is also a language- and platform-neutral encoding mechanism and format for data exchange and fi le format. However, BSON is more schema-less as compared to protobuf. Though less structure makes it more fl exible, it also takes away some of the performance benefi ts of a defi ned schema. Although BSON exists in conjunction with MongoDB there is nothing stopping you from using the format outside of MongoDB. The BSON serialization features in MongoDB drivers can be leveraged outside of their primary role of interacting with a MongoDB server. Read more about BSON at http://bsonspec.org/.

    Source of Information : NoSQL


0 comments:

Leave a Reply