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.

Fan-In: Can we Go faster?

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....

May 20, 2025 Â· 13 min Â· 2657 words Â· Denis Rodin