<div dir="ltr">Before the release of Pulp 3.0 GA, I think it’s worth just checking in to make sure we want to use UUIDs over integer based IDs. Changing from UUIDs to ints would be a very easy change at this point  (1-2 lines of code) but after GA ships, it would be hard if not impossible to switch.<div><br></div><div>I think there are a number of reasons why we might want to consider integer IDs:</div><div><br></div><div>- Better performance all around for inserts[0], searches, indexing, etc</div><div>- Less storage required (4 bytes for int vs 16 byes for UUIDs)</div><div>- Hrefs would be shorter (e.g. /pulp/api/v3/repositories/1/)<br></div><div><div>- In line with other apps like Katello</div></div><div><br></div><div>There are some downsides to consider though:</div><div><br></div><div>- Integer ids expose info like how many records there are</div><div>- Can’t support sharding or multiple dbs (are we ever going to need this?)</div><div><br></div><div>[0] <a href="http://kccoder.com/mysql/uuid-vs-int-insert-performance/">http://kccoder.com/mysql/uuid-vs-int-insert-performance/</a><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>David<br></div></div></div></div></div></div></div></div>
</div></div>