Tag Archives: patterns

Clean architecture pattern

The main idea is to have layers that only depend on inner layers (see the image below). Let’s imagine you have a repository that includes several applications. Layers Domain (Entities) Has basic types and interfaces for your application. Including the application config and Registry with all the interfaces. Optionally could also include some common logic …

Read more

Golang patterns. Worker pool

Further reading: https://gobyexample.com/worker-pools

Microservice architecture patterns

Why do you need a microservice architecture? Decrease blast radius of problems and increase flexibility. You want technology diversity in your company. You want to scale your app more granular according to consumer needs. You want newcomers to be productive earlier. You want your company structure to be mirrored with technical responsibilities (it’s mainly about …

Read more