3 ms·
incrementing ids requires a centralized server of some sort to hand out IDs when you get to a certain scale. you don't have that issue with UUIDs. for small app
by tschellenbach 5y ago
incrementing ids requires a centralized server of some sort to hand out IDs when you get to a certain scale. you don't have that issue with UUIDs. for small apps just incrementing ids works fine though
this approach also allows you to generate ids client side. which if you're working with a local db on ios/android etc this is very convenient