3 ms·
But if my application only uses 100 schemas, I only care about a collision if it's with one of those 100.
by lozenge 5y ago
But if my application only uses 100 schemas, I only care about a collision if it's with one of those 100.
- gpderetta 5y agoYou have a collision if any two schemas share the id, not if a specific schema collides with any of the others. So it is exactly like the birthday paradox.
- heavenlyblue 5y agoYeah, but that collision probably doesn’t matter because there’s a bunch of other variables that need to come together for it to be an issue at all.
- gpderetta 5y agoIf the schema id is the message id, in principle it could be an issue as the protocol on the wite would be ambiguous. Then again, you should be able to detect any collisions when you register a schema with the schema repo and deal with it at that time.
- deleted 5y ago[deleted]