I am thinking about how long should I design the length of document IDs. As we know,All document meta‐ data, including the document ID, is stored in memory at all times, so longer IDs make for a larger RAM footprint, which reduces the RAM available for caching the document data. but too short IDs might not be sure unique. so for the best practice, how long should I design the length of doc IDs.
On Jun 15, 2015, at 6:41 PM, atom992 <yangzi...@gmail.com> wrote:1. from the book <Developing with Couchbase Server> on page 34 from oreilly which ISBN is 978-1-449-33116-0 by MC Brown.
2. If I use REST api to create doc, what is the best practice to generate UUID as ID?