<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Worker-Pool on cassiobotaro</title><link>https://cassiobotaro.dev/en/tags/worker-pool/</link><description>Recent content in Worker-Pool on cassiobotaro</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 21 Oct 2026 21:35:24 -0300</lastBuildDate><atom:link href="https://cassiobotaro.dev/en/tags/worker-pool/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Concurrency - Worker pool</title><link>https://cassiobotaro.dev/en/posts/go-concurrency-worker-pool/</link><pubDate>Thu, 22 Oct 2026 00:00:00 -0300</pubDate><guid>https://cassiobotaro.dev/en/posts/go-concurrency-worker-pool/</guid><description>&lt;video
 src="https://cassiobotaro.dev/videos/grupo.mp4"
 title="Two workers splitting the input and merging the results into a single output" aria-label="Two workers splitting the input and merging the results into a single output"
 autoplay
 loop
 muted
 playsinline
 controls
 preload="metadata"
 style="width: 100%; height: auto;"&gt;
&lt;/video&gt;

&lt;p&gt;In the &lt;a href="https://cassiobotaro.dev/en/posts/go-concurrency-fan-out/" &gt;fan-out&lt;/a&gt; three workers split a channel, but the result died in a &lt;code&gt;fmt.Printf&lt;/code&gt;. In the &lt;a href="https://cassiobotaro.dev/en/posts/go-concurrency-fan-in/" &gt;fan-in&lt;/a&gt; several goroutines wrote to the same output channel.&lt;/p&gt;
&lt;p&gt;What if I put the two together? Several workers reading from the same input and writing the result to the same output.&lt;/p&gt;</description></item></channel></rss>