Tag Archives: patterns

Clean architecture pattern

The main idea is to have layers that only depend on inner layers (see the image below). 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 for several applications. Usecase Handlers. Uses interfaces from the Domain …

Read more

Golang patterns. Worker pool

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

Microservice architecture patterns

Why you need a microservice architecture? 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 SOA in general, not only about microcervices; more on …

Read more