<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Go on Fernando Cainelli</title><link>https://cainelli.me/tags/go/</link><description>Recent content in Go on Fernando Cainelli</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sat, 28 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://cainelli.me/tags/go/index.xml" rel="self" type="application/rss+xml"/><item><title>Same filters, two runtimes: Go ext_proc vs Go dynamic modules in Envoy</title><link>https://cainelli.me/posts/go-ext-proc-vs-go-dynamic-modules/</link><pubDate>Sat, 28 Nov 2026 00:00:00 +0000</pubDate><guid>https://cainelli.me/posts/go-ext-proc-vs-go-dynamic-modules/</guid><description>&lt;p&gt;At GetYourGuide, requests from the internet pass through an Istio ingress gateway with a Go sidecar in the same pod. The sidecar speaks Envoy&amp;rsquo;s &lt;a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/ext_proc_filter" class="external-link" target="_blank" rel="noopener"&gt;External Processing&lt;/a&gt; protocol (ext_proc) over a unix domain socket, so no network sits between Envoy and the filters, and it runs a chain of filters for header normalization, request enrichment, security checks and observability.&lt;/p&gt;
&lt;p&gt;Envoy now supports &lt;a href="https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/advanced/dynamic_modules" class="external-link" target="_blank" rel="noopener"&gt;dynamic modules&lt;/a&gt;: shared libraries loaded into the Envoy process, with an official Go SDK. Our interest is mostly about routing. In-process, a filter can set headers that feed the routing decision and pick the destination directly, without rewriting request properties such as the &lt;code&gt;Host&lt;/code&gt; header. That opens up routing use cases that are awkward to build over ext_proc.&lt;/p&gt;</description></item></channel></rss>