I think IDs like
e449f739-7f9f-46b4-836f-9c534f7bf88c are unnecessarily large. I know they are UUIDs, but is that really needed? Also, you can’t safely use them as
id attributes because they shouldn’t start with a number - you’d have to escape them in CSS selectors.
I think that 8-character IDs always starting with a letter (e.g.
adN3bf9e) would be enough. You’d have 52 possibilities for the first character (26 lowercase and 26 uppercase letters) and 62 for the rest (letters + 10 digits). This means:
52 * (62^7) = 183,123,959,522,816
That’s a lot of IDs. I think that 1000 blocks is about as much as you’ll ever have in a field, especially now that a text block can contain multiple paragraps - it’s not like the editor field where each paragraph was a separate block.
If you have 1000 blocks, the possibility of a collision for the 1001-st block is:
1,001 / 183,123,959,522,816 = 0.0000000000054662426% (5.4662426e-12)
I think it would be nicer if IDs are shorter and therefore - your URLs.