Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Storing a message-pack serialized object in MongoDB is silly, because Mongo is essentially storying BSON-serialized object on disk. You're double-serializing data in two competing formats.


BSON isn't meant to be compact, it's meant to be quick and efficient to serialize and deserialize. You store it inside MongoDB as bindata, and you'll save space.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: