Hi there 👋
My name is Denis, I’m software engineering enthusiast, who enjoys learning new stuff and researching tech. Here I’m sharing my ideas and thoughts.
What is it all about? Fan-in is a pretty common concurrency pattern in Go, often used to aggregate results from multiple goroutines. For example, when implementing a worker pool to process jobs concurrently, fan-in can used to collect results from all workers into a single channel. Or imagine you are writing a system to aggregate logs or metrics from different sources. Out of the box Go provides all required instruments to easily build fan-in implementation....