LongTailBio / pangea-django

MIT License
0 stars 1 forks source link

Move to sequential UUIDs? #10

Closed bchrobot closed 3 years ago

bchrobot commented 4 years ago

This is a way-in-the-future performance optimization

See:

dcdanko commented 4 years ago

In my opinion this sort of performance improvement is probably 'out of scope' for Pangea. While it would likely result in faster insertion it also has the potential to increase code complexity in a fairly opaque way.

One of the goals for Pangea is to make it easy for computational biologists to contribute and maintain. With this in mind I think we should take an aggressive approach against any kind of code bloat.

The reverse is that we will likely have a huge number of objects in our database even early on. If inserting these objects presents a serious drag on performance Sequential UUIDs might be a good approach.