<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Slice on cassiobotaro</title><link>https://cassiobotaro.dev/en/tags/slice/</link><description>Recent content in Slice on cassiobotaro</description><generator>Hugo</generator><language>en</language><lastBuildDate>Thu, 29 Oct 2026 13:15:29 -0300</lastBuildDate><atom:link href="https://cassiobotaro.dev/en/tags/slice/index.xml" rel="self" type="application/rss+xml"/><item><title>Go Concurrency - Batch processing</title><link>https://cassiobotaro.dev/en/posts/go-concurrency-batch-processing/</link><pubDate>Wed, 04 Nov 2026 00:00:00 -0300</pubDate><guid>https://cassiobotaro.dev/en/posts/go-concurrency-batch-processing/</guid><description>&lt;video
 src="https://cassiobotaro.dev/videos/lote.mp4"
 title="Items arriving one by one and leaving grouped in batches" aria-label="Items arriving one by one and leaving grouped in batches"
 autoplay
 loop
 muted
 playsinline
 controls
 preload="metadata"
 style="width: 100%; height: auto;"&gt;
&lt;/video&gt;

&lt;p&gt;An event queue where each event becomes an &lt;code&gt;INSERT&lt;/code&gt;. A thousand events per second, a thousand round trips to the database per second.&lt;/p&gt;
&lt;p&gt;The database accepts a hundred rows in a single request. But the events don&amp;rsquo;t arrive a hundred at a time, they arrive one by one.&lt;/p&gt;</description></item></channel></rss>