<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Σωκράτης</title>
    <description>The latest articles on DEV Community by Σωκράτης (@whosebiasdoyallseek).</description>
    <link>https://dev.to/whosebiasdoyallseek</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4136966%2Fdf209194-eaee-4ac4-beaf-50996ae71269.jpg</url>
      <title>DEV Community: Σωκράτης</title>
      <link>https://dev.to/whosebiasdoyallseek</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/whosebiasdoyallseek"/>
    <language>en</language>
    <item>
      <title>I'm building FGOTHS: A Go + Templ + HTMX project generator with SSE/FlatBuffers and HMR</title>
      <dc:creator>Σωκράτης</dc:creator>
      <pubDate>Sun, 27 Sep 2026 23:33:15 +0000</pubDate>
      <link>https://dev.to/whosebiasdoyallseek/im-building-fgoths-a-zero-cgo-go-templ-htmx-generator-with-sseflatbuffers-hmr-234e</link>
      <guid>https://dev.to/whosebiasdoyallseek/im-building-fgoths-a-zero-cgo-go-templ-htmx-generator-with-sseflatbuffers-hmr-234e</guid>
      <description>&lt;p&gt;I'm building &lt;strong&gt;FGOTHS&lt;/strong&gt; (&lt;em&gt;For The GOTH Stack&lt;/em&gt;) for my own studio because I needed a way to bootstrap production-ready Go webapps with zero cloud overhead, no heavy JS frameworks, and a fast dev loop. It generates single static binaries (&amp;lt;10MB) targeting bare &lt;code&gt;FROM scratch&lt;/code&gt; containers while delivering 100k+ req/s.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Two Presets:&lt;/strong&gt; &lt;code&gt;api&lt;/code&gt; (Flat JSON API) and &lt;code&gt;webapp&lt;/code&gt; (MVC + Templ + HTMX).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;True HMR:&lt;/strong&gt; Uses SSE + FlatBuffers to swap Templ HTML fragments in real-time, keeping form states, focus, and scroll position intact.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero CGO &amp;amp; Minimal Footprint:&lt;/strong&gt; Compiles to a ~8.8MB binary with a low dependency surface area.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Embedded Runtime:&lt;/strong&gt; Native reverse proxy, circuit breaker, health-checked failover, and deployment policies built right into the binary.
The project is released under the Apache 2.0 license.
I’d love to get feedback from the community on the architecture, the SSE/FlatBuffers HMR implementation, or the embedded runtime design!&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  📊 Benchmarks &amp;amp; Technical Metrics
&lt;/h3&gt;

&lt;p&gt;FGOTHS is engineered for sustained high throughput, low tail-end latency, and predictable memory overhead.&lt;/p&gt;

&lt;p&gt;Below are the metrics captured from load testing environments:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Measured Value&lt;/th&gt;
&lt;th&gt;Architectural Context&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Throughput&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100,000+ req/s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Sustained load under concurrency&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Tail Latency (p99)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~2.2ms&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Low tail latency under saturation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Binary Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~8.8 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Zero-CGO fully static binary&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Container Footprint&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&amp;lt; 10 MB&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Bare &lt;code&gt;FROM scratch&lt;/code&gt; deployment&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;How &lt;strong&gt;FGOTHS&lt;/strong&gt; compares to traditional web frameworks and monolithic stacks:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Feature / Metric&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;FGOTHS&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Go + Fiber / Gin&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Next.js / Node&lt;/strong&gt;&lt;/th&gt;
&lt;th&gt;&lt;strong&gt;Laravel / Rails&lt;/strong&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Architecture&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Go + Templ + HTMX&lt;/td&gt;
&lt;td&gt;Go + Templates&lt;/td&gt;
&lt;td&gt;JS / SSR / React&lt;/td&gt;
&lt;td&gt;Monolith (PHP/Ruby)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;HMR Mechanism&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;SSE + FlatBuffers&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Air / Basic Reload&lt;/td&gt;
&lt;td&gt;Fast Refresh / HMR&lt;/td&gt;
&lt;td&gt;Livewire / Inertia&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;State Preservation&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Scroll, Focus &amp;amp; Forms&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Full Page Reload&lt;/td&gt;
&lt;td&gt;React State&lt;/td&gt;
&lt;td&gt;Full / Partial&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Binary / App Size&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;
&lt;strong&gt;~8.8 MB&lt;/strong&gt; (Static)&lt;/td&gt;
&lt;td&gt;~15-20 MB&lt;/td&gt;
&lt;td&gt;~150 MB+ (Node)&lt;/td&gt;
&lt;td&gt;~50 MB+ (Runtime)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Container Base&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;&lt;code&gt;FROM scratch&lt;/code&gt; (&amp;lt;10MB)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Alpine (~20MB+)&lt;/td&gt;
&lt;td&gt;Node Alpine (~200MB+)&lt;/td&gt;
&lt;td&gt;PHP/Ruby (~300MB+)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CGO / Dependencies&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Zero CGO / Minimal&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Varies&lt;/td&gt;
&lt;td&gt;Massive &lt;code&gt;node_modules&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Heavy Extensions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Built-in Governance&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Proxy, Breaker &amp;amp; Failover&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Manual / External&lt;/td&gt;
&lt;td&gt;External (Vercel/Nginx)&lt;/td&gt;
&lt;td&gt;External (Nginx/Envoy)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Throughput (req/s)&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;100k+ req/s&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;~80k-100k req/s&lt;/td&gt;
&lt;td&gt;~10k-20k req/s&lt;/td&gt;
&lt;td&gt;~2k-5k req/s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;p99 Tail Latency&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;~2.2ms&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;~3-5ms&lt;/td&gt;
&lt;td&gt;~20-50ms&lt;/td&gt;
&lt;td&gt;~50-150ms&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Why FGOTHS?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Vs. JS Frameworks (Next.js/SvelteKit):&lt;/strong&gt; You drop the &lt;code&gt;node_modules&lt;/code&gt; bloat, complex build pipelines, and high memory footprint while keeping a modern reactive frontend experience using HTMX and SSE-driven hot reloading.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vs. Standard Go Frameworks (Gin/Fiber):&lt;/strong&gt; FGOTHS isn't just a router or micro-framework; it's a project generator and embedded runtime that wires up Templ SSR, state-preserving HMR, and production-grade proxy/governance out of the box.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Reproducibility:&lt;/strong&gt; Benchmark suites, execution scripts, and load profiles are available in the repository under the &lt;code&gt;/benchmarks&lt;/code&gt; directory.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Github repo: &lt;a href="https://github.com/WhoseBiasDoYallSeek/fgoths-framework" rel="noopener noreferrer"&gt;https://github.com/WhoseBiasDoYallSeek/fgoths-framework&lt;/a&gt;&lt;/p&gt;

</description>
      <category>go</category>
      <category>webdev</category>
      <category>showdev</category>
      <category>htmx</category>
    </item>
  </channel>
</rss>
