Challenge 2: Unique ID Generation

desccode

Built a distributed unique ID generator that keeps working even when the network gets funky (partition tolerant)

How it Works

Each ID is a combo of:

Why this approach is cool:


Why It's Partition Tolerant

Each node works independently - no need to talk to other nodes to generate IDs. Even if the network splits, each part keeps generating valid, unique IDs. When the partition heals, all IDs are still unique because of the node ID component.

Trade-offs

But for our use case, these are fine - we prioritized availability and simplicity.