Skip to content
Luke On Python

Luke On Python

  • About

persistency

Entity ID – Pros and cons of different approaches

13/11/202019/05/2020 by Łukasz Żukowski

In most cases, I use UUID as an id for aggregate entity. But when it comes to big amount of entities in SQL DB it can become scalability problem to handle UUID as id. Here are some pros and cons of different approaches to entity ids. Autoincrement Integer: DB 32-bit or 64-bit integer used as … Read more

Categories ddd Tags code architecture, ddd, persistency, python Leave a comment
© 2023 Luke On Python • Built with GeneratePress