Process manager VS DDD Aggregate

DDD Aggregate is responsible for encapsulating business logic for the component. But we need to be aware that when we are implementing business logic for a long time process that is coordinating many components, like subscription trial, we have another building block for this. It’s a process manager. Below I pointed out some differences between these two building blocks.

Read More

Entity ID - Pros and cons of different approaches

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.

Read More