MongoTorino


October 26, The First Italian MongoDB Day — Torino

BSON Mad Science for fun and profit

by Alessandro Molina
The talk will cover how to use BSON directly as an exchange protocol to gain speed and advanced type. BSON is the underlying serialization protocol used by MongoDB to store and represent data. Whenever we retrieve data from MongoDB we get it as BSON, then our drivers decode it just so that our web service can encode it back in JSON. We will see how to take advantage of BSON for fun and speed skipping this double step by directly fetching BSON and decoding it at client side.