Elektrine lite

← Feed

@treyhunner@mastodon.social

Post #1907390

2025-10-10 18:38 UTC

@mborus just don't mix UUID4 & UUID7 in the same data or you'll end up with old data randomly interleaved within new (nicely sorted) data. I have UUIDs on a Django app that I can't update and switching over now won't do me any good.

Replies (1)

  • @mborus@mastodon.social 2025-10-10 20:38

    @treyhunner Thanks for the warning. My uuid4 use case is mostly session logging and debugging. Most of the uuid4 data also has an expiry timestamp, in those scenarios I will probably switch anyway because the old data will go away after a month or so. As long as uuid4 and uuid7 don't clash I should be fine.

    Open ##1907391