Learnings

A running log of useful discoveries. Mostly technical, occasionally not.

2025

Q4

quick note

CPU limits in Kubernetes are harmful because they prevent pods from using available resources even when the node has spare capacity, leading to unnecessary throttling. The recommended best practice is to use accurate CPU requests without limits, which guarantees each pod its requested CPU while allowing it to burst higher when resources are available.

In Domain-Driven Design, the Aggregate pattern isn’t just about grouping related entities. It’s about defining transactional boundaries. Each Aggregate should have only one root entity that external code references, ensuring invariants are maintained consistently within that boundary.