Concept Flow - ObjectId and how it is generated
Start: Need unique ID
Generate Timestamp (4 bytes)
Generate Machine ID (3 bytes)
Generate Process ID (2 bytes)
Generate Counter (3 bytes)
Combine all parts into 12-byte ObjectId
Use ObjectId as unique document ID
ObjectId is created by combining time, machine, process, and counter parts to make a unique 12-byte ID.