Using the MongoID itself is going to be better long term because its
12 bytes rather than 24 that the string needs.
If you have your own unique string that is short and guaranteed to be
unique, then that is a good solution as well.
But _id size can be important so that the index fits in ram.
> --
>
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to
mongod...@googlegroups.com.
> To unsubscribe from this group, send email to
mongodb-user...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/mongodb-user?hl=en.
>
>
>