Marcel Waldvogel<p>All you never wanted to know about creating fast socket I/O on <a href="https://waldvogel.family/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a>. Unless you are a real geek.</p><p>A small, ultra-high performance publish-subscribe server doing kind of TCP <a href="https://waldvogel.family/tags/multicast" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>multicast</span></a> using <a href="https://waldvogel.family/tags/sendfile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>sendfile</span></a>, <a href="https://waldvogel.family/tags/io_uring" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>io_uring</span></a>, <a href="https://waldvogel.family/tags/splice" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>splice</span></a>, (mapped) files, and <a href="https://waldvogel.family/tags/fallocate" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fallocate</span></a> for file hole punching.</p><p>Saturating a 10 Gbps link with useful data with just 8 cores.</p><p>A beautiful writeup for anyone into fast Linux networking. Not just for <a href="https://waldvogel.family/tags/ATproto" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ATproto</span></a> </p><p>h/t <span class="h-card" translate="no"><a href="https://smnn.ch/@nohillside" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>nohillside</span></a></span> <br><a href="https://waldvogel.family/tags/PubSub" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PubSub</span></a> <a href="https://waldvogel.family/tags/Kernel" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kernel</span></a> <a href="https://waldvogel.family/tags/Hacking" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hacking</span></a> <br><a href="https://www.asayers.com/jetrelay" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">asayers.com/jetrelay</span><span class="invisible"></span></a></p>