---
title: "Go"
description: "Go language or Go-specific engineering"
url: "https://swe.quest/tags/go?per=96"
---

# Go

Topic in Languages: Go language or Go-specific engineering

By difficulty: [Easy](https://swe.quest/tags/go.md?difficulty=easy) · [Medium](https://swe.quest/tags/go.md?difficulty=medium) · [Hard](https://swe.quest/tags/go.md?difficulty=hard)

Posts 1–96 of 111, page 1 of 2, newest first.

## 2026-11-24

- [Property Based Thinking](https://swe.quest/articles/property-based-thinking-293866f3c0780857.md): Teleport · 2026-11-24 · Medium · 17 min read · Testing, Formal methods, Go
  Properties come in two flavours: formal safety and liveness properties that constrain a whole system over time, and property-based testing (PBT) properties that relate a function's inputs to its outputs.

## 2026-11-23

- [Implement Secure Cross App Access (XAA) in Go](https://swe.quest/articles/implement-secure-cross-app-access-xaa-in-go-0a6938474ca2d783.md): Okta Developer · 2026-11-23 · Medium · 15 min read · Identity & auth, Go, AI agents
  Cross App Access (XAA) lets an app or AI agent reach another app's API on a signed-in user's behalf without a second sign-in or consent screen.

## 2026-11-10

- [Go Turns 17](https://swe.quest/articles/go-turns-17-44df44064c6960cc.md): The Go Blog · 2026-11-10 · Easy · 12 min read · Go, Performance engineering, Developer tools, Cryptography, Memory management
  Go's 17th anniversary recap covers Go 1.26 and 1.27. On the language side, it adds generic methods, self-referential constraints, \`new\` with an initial value, and nested struct literal keys.

## 2026-11-04

- [A new Go API for JSON](https://swe.quest/articles/a-new-go-api-for-json-5db9bcc083b6587c.md): The Go Blog · 2026-11-04 · Medium · 14 min read · Go, API design, Performance engineering
  Go 1.27 makes encoding/json/v2 and encoding/json/jsontext stable.

## 2026-10-26

- [Our Response To The eMudhra Key Disclosure Incident](https://swe.quest/articles/our-response-to-the-emudhra-key-disclosure-incident-6a668fcaaa15ef20.md): The Go Blog · 2026-10-26 · Easy · 6 min read · Cryptography, Go, Incidents & postmortems, Security
  Weak private keys on eight eMudhra-issued intermediate certificates made them recoverable in microseconds, letting attackers mint trusted TLS certificates for any domain.

## 2026-10-16

- [Interactive refactoring in gopls](https://swe.quest/articles/interactive-refactoring-in-gopls-71fe08e61af60368.md): The Go Blog · 2026-10-16 · Medium · 7 min read · Developer tools, Refactoring & migrations, Go
  gopls now supports interactive refactoring through a proposed Language Server Protocol extension, co-designed with the Dart team, that lets language servers ask the user for input before computing edits.

## 2026-10-14

- [Better HTTP/1 connection reuse](https://swe.quest/articles/better-http-1-connection-reuse-5d9fec83e52eecb5.md): The Go Blog · 2026-10-14 · Medium · 7 min read · Go, Networking, Performance engineering
  Go 1.27's net/http.Transport now asynchronously drains unread HTTP/1 response bodies, up to 50 ms or 256 KB, before closing them.

## 2026-10-02

- [Arch-specific SIMD in Go](https://swe.quest/articles/arch-specific-simd-in-go-2992a831c4663686.md): The Go Blog · 2026-10-02 · Hard · 11 min read · Go, Performance engineering, Compilers, Hardware, WebAssembly
  Go 1.27 extends the experimental architecture-specific SIMD API (simd/archsimd, enabled with GOEXPERIMENT=simd) from amd64 to arm64 NEON and wasm 128-bit SIMD.

## 2026-10-01

- [Building a faster, lazier router for Postgres](https://swe.quest/articles/building-a-faster-lazier-router-for-postgres-bc9a70ce219128ed.md): PlanetScale · 2026-10-01 · Hard · 15 min read · PostgreSQL, Distributed databases, Performance engineering, Go, Query engines
  Neki, PlanetScale's Postgres sharding router, cuts per-query overhead by keeping PostgreSQL wire-protocol bytes intact and decoding only as much as each query requires.

## 2026-09-24

- [Platform-independent SIMD in Go](https://swe.quest/articles/platform-independent-simd-in-go-f8d408cca35d2358.md): The Go Blog · 2026-09-24 · Hard · 18 min read · Go, Performance engineering, Hardware, Compilers, API design
  Go 1.27 adds an experimental, size-agnostic \`simd\` package, loosely modeled on Highway for C++.

## 2026-09-16

- [Size-Specialized Memory Allocation](https://swe.quest/articles/size-specialized-memory-allocation-cb92a01eba7d925f.md): The Go Blog · 2026-09-16 · Hard · 7 min read · Memory management, Go, Runtimes & VMs, Performance engineering
  Go 1.27 adds size-specialized variants of the runtime's mallocgc for allocations of 80 bytes or fewer, one per span class (size class plus pointer/no-pointer), making these allocations 20-30% faster and allocation-heavy programs up to 1% faster.

## 2026-09-08

- [Architecting for 6 Billion Daily Requests: Inside Wix's Media Platform](https://swe.quest/articles/architecting-for-6-billion-daily-requests-inside-wix-s-media-platform-5424f6cf38e8a5be.md): Wix Engineering · 2026-09-08 · Medium · 4 min read · Video & media, Caching, Go, Performance engineering, Testing
  Wix's media platform serves over 6 billion requests a day for 300M+ sites, and five design choices keep it fast and cheap.

## 2026-09-02

- [Goroutine Leak Profiles](https://swe.quest/articles/goroutine-leak-profiles-28367c8af5986ce1.md): The Go Blog · 2026-09-02 · Medium · 23 min read · Go, Concurrency, Memory management, Debugging, Runtimes & VMs
  Go 1.27 adds a goroutineleak profile that finds goroutines permanently blocked on channels or sync primitives (Mutex, RWMutex, WaitGroup, Cond) in running programs, including production, with few or no false positives.

## 2026-08-27

- [DBOS Product Update August 2026](https://swe.quest/articles/dbos-product-update-august-2026-1554fe305b485227.md): DBOS · 2026-08-27 · Medium · 5 min read · Scheduling, PostgreSQL, Multi-tenancy, Go, Observability
  DBOS's August 2026 update brings roughly 10x higher throughput for partitioned queues, achieved through more efficient indexes, batched dequeues across partitions, and a faster replacement for a SELECT DISTINCT query that bottlenecked at scale.

## 2026-08-25

- [State divergence enables unauthorized access](https://swe.quest/articles/state-divergence-enables-unauthorized-access-436a19d8a315c057.md): Trail of Bits · 2026-08-25 · Medium · 6 min read · Vulnerability research, Identity & auth, Security, Go
  Provenance Blockchain's marker module let any account grant itself ACCESS\_ADMIN, mint and withdraw rights on non-fixed-supply markers.

## 2026-08-11

- [We turned off Pub/Sub and nobody noticed](https://swe.quest/articles/we-turned-off-pub-sub-and-nobody-noticed-df128aa62ef239e4.md): incident.io · 2026-08-11 · Medium · 13 min read · Queues & messaging, Resilience, Event-driven architecture, Go, Chaos engineering
  incident.io removed Google Cloud Pub/Sub as a single point of failure by adding NATS as a second message broker in an active-active setup behind its existing Go \`eventadapter\` abstraction.

## 2026-08-04

- [Fixed cadence to seconds: making ClickHouse Cloud autoscaling more reactive](https://swe.quest/articles/fixed-cadence-to-seconds-making-clickhouse-cloud-autoscaling-more-reactive-1b4745e879b2e9ce.md): ClickHouse · 2026-08-04 · Medium · 13 min read · Kubernetes, Capacity planning, Go, Analytics & OLAP, Event-driven architecture
  ClickHouse Cloud's vertical autoscaling recommender moved from a fixed timer loop to a controller-runtime based design, so services that hit memory pressure get a recommendation in seconds instead of waiting for the next scheduled pass.
- [Bringing serverless functions closer to the speed of wire](https://swe.quest/articles/bringing-serverless-functions-closer-to-the-speed-of-wire-4593ae513494961f.md): Modal · 2026-08-04 · Medium · 5 min read · Serverless, Performance engineering, System design, Go, Queues & messaging
  Modal rebuilt its serverless I/O plane, which queues Function inputs and outputs, and now runs it in at least four regions.

## 2026-07-29

- [How the controller-runtime Cache Actually Works, and Why Your Controller Does Not Crash the API Server](https://swe.quest/articles/how-the-controller-runtime-cache-actually-works-and-why-your-controller-does-adcfa1b97b0265c0.md): Kubernetes Blog · 2026-07-29 · Hard · 32 min read · Kubernetes, Go, Caching
  In controller-runtime, r.Get() and r.List() inside a reconciler read from a local in-memory cache built on client-go informers.

## 2026-07-21

- [Don't add a read replica until you've read this](https://swe.quest/articles/don-t-add-a-read-replica-until-you-ve-read-this-a990a2b0dc14e87b.md): incident.io · 2026-07-21 · Medium · 18 min read · PostgreSQL, Replication, Consistency models, Go, Scaling
  incident.io moved nearly all Postgres read traffic to a read replica and had to preserve read-after-write consistency without hand-routing each query.

## 2026-07-14

- [Building a Custom Metrics Exporter for Kubernetes](https://swe.quest/articles/building-a-custom-metrics-exporter-for-kubernetes-7836d8b667c498c8.md): Kubernetes Blog · 2026-07-14 · Medium · 8 min read · Observability, Kubernetes, Go, Containers
  A Prometheus metrics exporter is a small HTTP server exposing application state on /metrics, letting Kubernetes workloads surface signals like queue depth or job latency beyond CPU and memory.

## 2026-07-08

- [Announcing etcd v3.7.0](https://swe.quest/articles/announcing-etcd-v3-7-0-eca4801619911a7e.md): Kubernetes Blog · 2026-07-08 · Hard · 8 min read · Distributed databases, Kubernetes, Performance engineering, Consensus, Go
  etcd v3.7.0 adds RangeStream, an RPC that returns large range results in chunks so neither server nor client has to buffer the whole response.

## 2026-06-29

- [Beta SDKs for the 2026-07-28 MCP Spec Release Candidate Are Here](https://swe.quest/articles/beta-sdks-for-the-2026-07-28-mcp-spec-release-candidate-are-here-d2a2615de1d70a07.md): Model Context Protocol · 2026-06-29 · Medium · 8 min read · AI agents, API design, Python, TypeScript, Go
  Beta Python v2, TypeScript v2, Go v1.7.0-pre.1 and C# 2.0.0-preview.1 SDKs implement the 2026-07-28 MCP spec release candidate.

## 2026-06-25

- [Why we rewrote WAL-G for Postgres backups in Rust: Meet WAL-RUS](https://swe.quest/articles/why-we-rewrote-wal-g-for-postgres-backups-in-rust-meet-wal-rus-a99cc2a7ede61ae3.md): ClickHouse · 2026-06-25 · Medium · 4 min read · PostgreSQL, Rust, Memory management, Storage systems, Go
  WAL-RUS is an open-source Rust rewrite of WAL-G's Postgres backup and WAL archival tooling, built because Go's garbage-collected runtime made virtual memory hard to predict in resource-constrained managed Postgres environments where overcommit is disabled.

## 2026-06-11

- [Building ClickCannon - a tool for benchmarking ClickHouse](https://swe.quest/articles/building-clickcannon-a-tool-for-benchmarking-clickhouse-15503a1f117264f6.md): ClickHouse · 2026-06-11 · Medium · 16 min read · Performance engineering, Go, Analytics & OLAP, Observability, Concurrency
  ClickCannon is an open-source Go tool for benchmarking ClickHouse insert and query workloads, built to produce hardware sizing recommendations for ClickStack observability deployments.

## 2026-06-07

- [Introducing Lightstep UQL to PromQL Translator](https://swe.quest/articles/introducing-lightstep-uql-to-promql-translator-0636777f4f50aad7.md): Zalando Engineering · 2026-06-07 · Medium · 3 min read · Observability, Go, Open source, Refactoring & migrations
  With Lightstep sunsetting, Zalando built and open-sourced a Go translator that deterministically converts Lightstep UQL queries into PromQL.

## 2026-05-28

- [Security Automation Evolved: From SlackOps to Programmatic SIEM Triage (Part 1/2)](https://swe.quest/articles/security-automation-evolved-from-slackops-to-programmatic-siem-triage-part-1-2-4945f06fa59a1bdc.md): Sourcegraph · 2026-05-28 · Medium · 4 min read · Threat detection, Security, Go
  Sourcegraph's security team built SecBot, a Slackbot that enriches SIEM alerts with context from Entitle JIT permissions, Okta, Google Workspace, GCP asset metadata and threat intel, so alerts can be triaged and closed from Slack via emoji reactions.

## 2026-05-04

- [PGKeeper: Building the bouncer we needed for Postgres](https://swe.quest/articles/pgkeeper-building-the-bouncer-we-needed-for-postgres-b0a410376e101175.md): Figma · 2026-05-04 · Medium · 19 min read · PostgreSQL, Resilience, Go, Databases, Scaling
  Figma replaced PgBouncer with PGKeeper, a Go service built on PGX that sits between its DBProxy router and each Postgres instance.

## 2026-04-28

- [Who's on call? How we improved schedule rendering performance 2,500x](https://swe.quest/articles/who-s-on-call-how-we-improved-schedule-rendering-performance-2-500x-8f76a3cfe21d61b4.md): incident.io · 2026-04-28 · Medium · 17 min read · Performance engineering, Go, Algorithms, AI for coding, Debugging
  incident.io's on-call schedule renderer, which computes future shifts on the fly from rotation config, working hours and fair-scheduling rules, became dramatically faster through a series of fixes culminating in a ~2,500x speedup.

## 2026-04-16

- [How GitHub uses eBPF to improve deployment safety](https://swe.quest/articles/how-github-uses-ebpf-to-improve-deployment-safety-e56d5b65b00aac89.md): GitHub Engineering · 2026-04-16 · Medium · 8 min read · Linux, Deployment, Go, Networking, DNS
  GitHub prevents deployment scripts from introducing circular dependencies on github.com or internal services by running them in a dedicated cgroup with eBPF programs attached.

## 2026-03-31

- [From Custom to Open: Scalable Network Probing and HTTP/3 Readiness with Prometheus](https://swe.quest/articles/from-custom-to-open-scalable-network-probing-and-http-3-readiness-with-c89283e47468651e.md): Slack Engineering · 2026-03-31 · Easy · 4 min read · Observability, Networking, Open source, Go
  Slack's HTTP/3 rollout exposed a client-side observability gap: HTTP/3 runs over QUIC on UDP, and neither the commercial SaaS probing tools Slack evaluated nor the Prometheus Blackbox Exporter could probe QUIC endpoints.

## 2026-03-25

- [Figma's next-generation data caching platform](https://swe.quest/articles/figma-s-next-generation-data-caching-platform-c951e9f9c8ac4b49.md): Figma · 2026-03-25 · Medium · 15 min read · Caching, System design, Scaling, Go, Multi-tenancy
  FigCache is a stateless Go proxy that speaks the Redis RESP wire protocol.

## 2026-02-18

- [How we reduced the size of our Agent Go binaries by up to 77%](https://swe.quest/articles/how-we-reduced-the-size-of-our-agent-go-binaries-by-up-to-77-01b71ba25e3ec4b1.md): Datadog Engineering · 2026-02-18 · Medium · 14 min read · Go, Build systems, Compilers, Performance engineering
  Datadog cut its Agent's Go binary sizes by up to 77% between versions 7.60.0 and 7.68.0 without removing features.

## 2026-02-13

- [Building AI-Powered Observability with Heroku Managed Inference and Agents](https://swe.quest/articles/building-ai-powered-observability-with-heroku-managed-inference-and-agents-c65a18c2ea58a958.md): Heroku Engineering · 2026-02-13 · Medium · 5 min read · AI agents, Observability, Go, Debugging
  Observability platforms like Splunk, Honeycomb and Sentry can be exposed to AI coding assistants as MCP tools, so engineers query production telemetry in natural language from Cursor or Claude instead of switching to dashboards and writing SPL.

## 2026-01-21

- [From Bash to Bliss: Scaling Vespa Operations with Temporal](https://swe.quest/articles/from-bash-to-bliss-scaling-vespa-operations-with-temporal-fa0dde1673c9ecfb.md): Vinted Engineering · 2026-01-21 · Medium · 4 min read · Scheduling, Search, Resilience, SRE, Go
  Vinted replaced Bash scripts and Knife commands for maintaining a Vespa search fleet that grew from about a hundred to over a thousand nodes with durable workflows built on Temporal's Go SDK.

## 2026-01-15

- [Permission-Aware RAG: End-to-End Testing with the SpiceDB Testcontainer](https://swe.quest/articles/permission-aware-rag-end-to-end-testing-with-the-spicedb-testcontainer-b7d33c0e8045d6b2.md): Docker · 2026-01-15 · Medium · 7 min read · RAG & retrieval, Identity & auth, Testing, Go
  RAG pipelines leak data when the retriever ignores permissions, so retrieved chunks can be post-filtered through SpiceDB, a Zanzibar-style ReBAC engine, before they reach the LLM.

## 2025-11-14

- [How we avoided side-channels in our new post-quantum Go cryptography libraries](https://swe.quest/articles/how-we-avoided-side-channels-in-our-new-post-quantum-go-cryptography-libraries-8fe38a6e055d44ab.md): Trail of Bits · 2025-11-14 · Hard · 6 min read · Cryptography, Go, Open source
  Trail of Bits released pure-Go, open-source implementations of the NIST post-quantum signature schemes ML-DSA (FIPS-204) and SLH-DSA (FIPS-205), engineered to run in constant time.

## 2025-11-13

- [Building StockHouse: Real-time market analytics with ClickHouse](https://swe.quest/articles/building-stockhouse-real-time-market-analytics-with-clickhouse-84e9bb5a68744806.md): ClickHouse · 2025-11-13 · Medium · 6 min read · Analytics & OLAP, Stream processing, SQL, Go
  StockHouse is a reference streaming analytics app that ingests live stock and crypto ticks from Massive's WebSocket APIs through a Go ingester into ClickHouse and renders them in a Vue dashboard built on Perspective.

## 2025-11-11

- [Docker Engine v29: Foundational Updates for the Future](https://swe.quest/articles/docker-engine-v29-foundational-updates-for-the-future-bd0542aab28ccad9.md): Docker · 2025-11-11 · Medium · 6 min read · Containers, Linux, Networking, Go
  Docker Engine v29 is a foundational release with four under-the-hood changes.

## 2025-10-02

- [Litestream v0.5.0 is Here](https://swe.quest/articles/litestream-v0-5-0-is-here-f9fbba886e3df515.md): Fly.io · 2025-10-02 · Medium · 6 min read · SQLite, Replication, Storage engines, Go
  Litestream v0.5.0 replaces WAL-segment backups with the LTX file format from LiteFS, enabling efficient point-in-time recovery through hierarchical compaction (30-second, 5-minute and hourly levels), so a restore typically needs only a dozen or so files.

## 2025-09-18

- [From hand-tuned Go to self-optimizing code: Building BitsEvolve](https://swe.quest/articles/from-hand-tuned-go-to-self-optimizing-code-building-bitsevolve-65732e9f0f979e91.md): Datadog Engineering · 2025-09-18 · Medium · 17 min read · Performance engineering, Go, AI agents, Cost optimization, Compilers
  Datadog cut CPU in Go hot paths by removing compiler bounds checks in NormalizeTag (25% faster, 0.75% service CPU) and adding an ASCII fast path to NormalizeTagArbTagValue (90% faster, hundreds of thousands of dollars in projected annual savings), guided by production data showing nearly all inputs were ASCII.

## 2025-08-26

- [Kubernetes Informers are so easy... to misuse!](https://swe.quest/articles/kubernetes-informers-are-so-easy-to-misuse-a7aef41b2bdd46d8.md): Render · 2025-08-26 · Medium · 7 min read · Kubernetes, Go, Resilience, Memory management
  Kubernetes Informers report the eventual current state of an object, not every intermediate transition, so controllers must use level-driven logic rather than comparing oldObj and newObj in UpdateFunc.

## 2025-08-11

- [Ready, steady, goa: our API setup](https://swe.quest/articles/ready-steady-goa-our-api-setup-f9a8a900b508af76.md): incident.io · 2025-08-11 · Medium · 10 min read · API design, Go, TypeScript, Developer productivity
  incident.io defines its HTTP API in Goa's design-first DSL, which generates net/http transport handlers, validation code, typed Go service interfaces, OpenAPI 3.0 specs and Go clients.

## 2025-07-22

- [The quest for the five minute deploy](https://swe.quest/articles/the-quest-for-the-five-minute-deploy-9b91763fbfd58020.md): incident.io · 2025-07-22 · Medium · 9 min read · CI/CD, Go, Build systems, Caching, Developer productivity
  incident.io cut CI/CD times by moving from a hosted provider, where a cold Go build cache made compiling 15,000+ tests across 350+ packages the bottleneck, to Buildkite running on three self-hosted 48-vCPU servers.

## 2025-07-17

- [GoFiber v3 + Testcontainers: Production-like Local Dev with Air](https://swe.quest/articles/gofiber-v3-testcontainers-production-like-local-dev-with-air-d8c159a9b0421bda.md): Docker · 2025-07-17 · Medium · 15 min read · Go, Testing, Developer productivity, Containers, PostgreSQL
  Fiber v3's new Services API lets a Go web app start and stop backing dependencies as part of its own lifecycle, and a Testcontainers contrib module plugs real Docker containers into it.
- [How we tracked down a Go 1.24 memory regression across hundreds of pods](https://swe.quest/articles/how-we-tracked-down-a-go-1-24-memory-regression-across-hundreds-of-pods-bbf00972d141a71d.md): Datadog Engineering · 2025-07-17 · Medium · 9 min read · Go, Memory management, Debugging, Performance engineering, Runtimes & VMs
  Upgrading a data-processing service to Go 1.24 raised container memory by about 20% even though Go runtime metrics and heap profiles stayed flat.
- [How Go 1.24’s Swiss Tables saved us hundreds of gigabytes](https://swe.quest/articles/how-go-1-24-s-swiss-tables-saved-us-hundreds-of-gigabytes-4fbf9a0f30e1e4c9.md): Datadog Engineering · 2025-07-17 · Medium · 17 min read · Go, Data structures, Memory management, Runtimes & VMs, Performance engineering
  Go 1.24's new map implementation, based on Swiss Tables and extendible hashing, cut roughly 500 MiB of live heap (about 1 GiB of RSS with GOGC=100) from a 3.5-million-entry routing cache map, enough to more than offset a separate Go 1.24 mallocgc memory regression.

## 2025-06-19

- [Scaling our Observability platform beyond 100 Petabytes by embracing wide events and replacing OTel](https://swe.quest/articles/scaling-our-observability-platform-beyond-100-petabytes-by-embracing-wide-c75d29b3bcaf1192.md): ClickHouse · 2025-06-19 · Medium · 26 min read · Observability, Scaling, Cost optimization, Analytics & OLAP, Go
  ClickHouse's internal LogHouse platform grew from 19 PiB to over 100 PB of uncompressed logs (about 500 trillion rows), mostly by replacing the OpenTelemetry pipeline for ClickHouse server telemetry with SysEx.

## 2025-06-03

- [How to Make an AI Chatbot from Scratch using Docker Model Runner](https://swe.quest/articles/how-to-make-an-ai-chatbot-from-scratch-using-docker-model-runner-48eab58e2814218f.md): Docker · 2025-06-03 · Medium · 17 min read · Inference & serving, Observability, LLMs, Go, Containers
  A local GenAI chatbot built on Docker Model Runner, which runs llama.cpp models natively on the host and exposes an OpenAI-compatible API to containers.

## 2025-06-02

- [How to Deploy Schema Changes to a Million Databases](https://swe.quest/articles/how-to-deploy-schema-changes-to-a-million-databases-356cdf3f01c11d17.md): Turso · 2025-06-02 · Medium · 4 min read · Schema migrations, Multi-tenancy, SQLite, Local-first & sync, Go
  Database-per-tenant schema migrations can scale to millions of databases by inverting control: a hosted schema registry stores a versioned catalog of SQL scripts, and each client periodically reports its schema version, pulls the missing migrations and applies them locally.

## 2025-05-29

- [We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases](https://swe.quest/articles/we-rewrote-large-parts-of-our-api-in-go-using-ai-we-are-now-ready-to-handle-one-dae54753b5d31582.md): Turso · 2025-05-29 · Medium · 7 min read · Go, Scaling, Memory management, SQLite, Caching
  Turso's Go API proxy, which maps database URLs to physical servers, ran out of memory as customers created millions of databases programmatically.

## 2025-05-22

- [Deploying a Simple Go/Gin Application on Heroku](https://swe.quest/articles/deploying-a-simple-go-gin-application-on-heroku-3b0ebc70afe1a20c.md): Heroku Engineering · 2025-05-22 · Medium · 6 min read · Go, Deployment, Cloud platforms
  A Go/Gin REST API deploys to Heroku with three files beyond the source: go.mod/go.sum (cleaned with go mod tidy) and a one-line Procfile.

## 2025-03-25

- [Controlling costs when building with AI](https://swe.quest/articles/controlling-costs-when-building-with-ai-e6fb1a0a01ec2e9a.md): incident.io · 2025-03-25 · Medium · 10 min read · LLMs, Cost optimization, Observability, Go
  After hitting OpenAI billing limits broke its early AI features, incident.io built per-prompt cost attribution into its Go LLM abstraction, using reflection to capture each prompt's type name alongside token usage and emitting it to Grafana metrics and Postgres records for BI.
- [Break chatbot speed limits with speculative tool calls](https://swe.quest/articles/break-chatbot-speed-limits-with-speculative-tool-calls-83dbf2c2a180290f.md): incident.io · 2025-03-25 · Medium · 10 min read · AI agents, LLMs, Performance engineering, Go
  incident.io cut its incident chatbot's response latency by about 50% (saving 2-3s per interaction) by speculatively executing LLM tool calls in both directions.

## 2025-03-04

- [Why We’re Moving on From Nix](https://swe.quest/articles/why-we-re-moving-on-from-nix-3cb8ef181b1a528f.md): Railway · 2025-03-04 · Medium · 5 min read · Build systems, Containers, Go, Deployment, Caching
  Railway replaced its Nix-based builder Nixpacks with Railpack, a Go rewrite that generates BuildKit LLB graphs directly instead of linear Dockerfiles.

## 2024-12-02

- [WireGuard at Modal: Static IPs for serverless containers](https://swe.quest/articles/wireguard-at-modal-static-ips-for-serverless-containers-f9b6b3f9bd58963d.md): Modal · 2024-12-02 · Hard · 14 min read · Networking, Linux, Serverless, Go, Multi-tenancy
  Modal built vprox, a high-availability Go VPN proxy on WireGuard, to give multi-tenant serverless containers static outbound IPv4 addresses for things like database IP allowlists.

## 2024-11-18

- [Organizing ownership: How we assign errors in our monolith](https://swe.quest/articles/organizing-ownership-how-we-assign-errors-in-our-monolith-a4731f02c7358da3.md): incident.io · 2024-11-18 · Medium · 7 min read · Observability, Incidents & postmortems, Go, CI/CD
  incident.io assigns error ownership inside its monolith by dividing the codebase into team-owned units (apps, backend feature packages, integrations), each with a required jsonnet module file declaring owner, criticality and customer-facing features.

## 2024-11-04

- [Observability as a superpower](https://swe.quest/articles/observability-as-a-superpower-5609b41c95a2309f.md): incident.io · 2024-11-04 · Medium · 8 min read · Observability, Go, Debugging, Incidents & postmortems
  Distributed tracing with OpenTelemetry lets incident.io engineers spot bugs before customers report them, by showing each request's route as a tree of timed spans that exposes slow steps, N+1 queries and duplicate calls.

## 2024-10-08

- [Leveraging Testcontainers for Complex Integration Testing in Mattermost Plugins](https://swe.quest/articles/leveraging-testcontainers-for-complex-integration-testing-in-mattermost-plugins-3edaea4757026529.md): Docker · 2024-10-08 · Medium · 6 min read · Testing, Containers, Go, JavaScript
  Mattermost replaced brittle mock-based plugin tests with Testcontainers-driven integration tests that spin up a Mattermost server, PostgreSQL on an internal Docker network, and optional API mock containers.

## 2024-08-22

- [Building On-call: Our observability strategy](https://swe.quest/articles/building-on-call-our-observability-strategy-d4562a767c5fec2c.md): incident.io · 2024-08-22 · Medium · 15 min read · Observability, SRE, Incidents & postmortems, Go
  incident.io structures observability for its on-call product as a consistent drill-down path.

## 2024-07-18

- [Building On-call: Time, timezones, and scheduling](https://swe.quest/articles/building-on-call-time-timezones-and-scheduling-f978980b35f41e6a.md): incident.io · 2024-07-18 · Medium · 11 min read · Time & clocks, Scheduling, Testing, PostgreSQL, Go
  incident.io's on-call scheduler computes who is on shift from rotations with working hours, round-robin handovers and overrides, and getting it right depends on being precise about local time, offsets, IANA timezones, instants and durations.

## 2024-07-11

- [Migrating JSONB columns in Go](https://swe.quest/articles/migrating-jsonb-columns-in-go-042317bcb9572fbf.md): incident.io · 2024-07-11 · Medium · 4 min read · Schema migrations, Go, PostgreSQL
  When a JSONB column's shape changes, a custom sql.Scanner and driver.Valuer on the Go column type can read both the old and new formats while always writing the new one. incident.io used this to move conditions from a flat array to an array of condition groups, which was needed to support OR logic.

## 2024-06-15

- [Advanced Rollout Techniques: Custom Strategies for Stateful Apps in Kubernetes](https://swe.quest/articles/advanced-rollout-techniques-custom-strategies-for-stateful-apps-in-kubernetes-a422eb29cf5ed2f0.md): Slack Engineering · 2024-06-15 · Medium · 10 min read · Kubernetes, Deployment, Go
  Slack built the Bedrock Rollout Operator, a Kubebuilder-based Kubernetes operator that drives StatefulSet rollouts through a StatefulsetRollout custom resource.

## 2024-04-16

- [How Render Enforces Access Controls with Go Generics](https://swe.quest/articles/how-render-enforces-access-controls-with-go-generics-6a60bf3827f53ed7.md): Render · 2024-04-16 · Medium · 6 min read · Go, Identity & auth, Type systems, Application security
  Render enforces role-based access control at compile time by wrapping domain objects like Project in opaque types (AuthorizedProject) that can only be constructed through a permission-checking function.

## 2024-01-24

- [How GitHub’s Developer Experience team improved innerloop development](https://swe.quest/articles/how-github-s-developer-experience-team-improved-innerloop-development-a46c7e17f2bd5376.md): GitHub Engineering · 2024-01-24 · Medium · 8 min read · Developer productivity, Containers, Microservices, Testing, Go
  GitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying.

## 2024-01-15

- [Debugging Go compiler performance in a large codebase](https://swe.quest/articles/debugging-go-compiler-performance-in-a-large-codebase-46b7968c79fa2123.md): incident.io · 2024-01-15 · Medium · 6 min read · Go, Build systems, Developer productivity, Performance engineering
  incident.io sped up builds of its Go monolith by tracing the compiler with \`go build -debug-trace\` and viewing the output in Perfetto.

## 2023-12-19

- [Tracking developer build times to decide if the M3 MacBook is worth upgrading](https://swe.quest/articles/tracking-developer-build-times-to-decide-if-the-m3-macbook-is-worth-upgrading-203da83e8808415f.md): incident.io · 2023-12-19 · Medium · 17 min read · Developer productivity, Go, Hardware, Performance engineering, Build systems
  incident.io built a custom Go hot-reloader that records build telemetry (platform, memory, power source, Go build stages, triggering files) from developer MacBooks and pipes it through Fivetran into BigQuery.

## 2023-12-18

- [Using modules for Testcontainers with Golang](https://swe.quest/articles/using-modules-for-testcontainers-with-golang-07887e1f0f647794.md): Zalando Engineering · 2023-12-18 · Medium · 4 min read · Testing, Go, Containers
  Testcontainers for Go lets integration tests start real dependencies such as Redis in containers, but raw usage requires knowing ports, wait strategies and environment details.

## 2023-12-11

- [Engineering nits: Generating code faster](https://swe.quest/articles/engineering-nits-generating-code-faster-1820d3fbfc60303a.md): incident.io · 2023-12-11 · Medium · 5 min read · Go, Developer productivity, Performance engineering, Build systems
  incident.io cut a Go code-generation step from about 16 seconds to under half a second (97% faster) by adding commonly used imports directly to the generator's template.

## 2023-11-28

- [Engineering nits: Building a Storybook for Slack Block Kit](https://swe.quest/articles/engineering-nits-building-a-storybook-for-slack-block-kit-532065c40b7a6e12.md): incident.io · 2023-11-28 · Medium · 5 min read · Developer productivity, Go, Developer tools, Communications
  incident.io built a Storybook-style catalogue for its 70+ Slack modals and similar number of messages by extending its Go modal registration framework so every \`modal.Register\` call also supplies named example variants built from test fixtures.

## 2023-10-30

- [Router 2.0 Common Runtime Router: The Road to Beta](https://swe.quest/articles/router-2-0-common-runtime-router-the-road-to-beta-588e480683057806.md): Heroku Engineering · 2023-10-30 · Medium · 9 min read · Load balancing, Go, Refactoring & migrations, Deployment, Observability
  Heroku is replacing Hermes, its decade-old Erlang Common Runtime router, with Router 2.0 written in Go.

## 2023-09-28

- [Executing Cron Scripts Reliably At Scale](https://swe.quest/articles/executing-cron-scripts-reliably-at-scale-300d2911de10f9b3.md): Slack Engineering · 2023-09-28 · Medium · 5 min read · Scheduling, System design, Kubernetes, Go, Queues & messaging
  Slack replaced a single cron box running all scripts from one crontab with a distributed cron execution service built mostly from existing infrastructure.

## 2023-08-10

- [A linter I really recommend you to use if you're doing SQL in Golang](https://swe.quest/articles/a-linter-i-really-recommend-you-to-use-if-you-re-doing-sql-in-golang-01ce20ff247e64a5.md): Turso · 2023-08-10 · Medium · 3 min read · Go, Static analysis, CI/CD, SQL
  The sqlclosecheck linter catches unclosed sql.Rows and sql.Stmt objects in Go code, which otherwise can cause deadlocks or inefficient disk use in databases like SQLite.

## 2023-08-03

- [Something you probably want to know about if you're using SQLite in Golang](https://swe.quest/articles/something-you-probably-want-to-know-about-if-you-re-using-sqlite-in-golang-998bba3901e282c7.md): Turso · 2023-08-03 · Medium · 5 min read · SQLite, Go, Storage engines, Debugging
  In SQLite's WAL mode, an unclosed Go database/sql rows object keeps a read transaction open, which stops checkpoints from moving changes from the WAL file into the main database file.

## 2023-07-28

- [Building a Unified Data Platform with ClickHouse](https://swe.quest/articles/building-a-unified-data-platform-with-clickhouse-cc8bf54cebee136c.md): ClickHouse · 2023-07-28 · Medium · 10 min read · Analytics & OLAP, Databases, Data pipelines, Performance engineering, Go
  Synq, a data observability startup, consolidated its user-facing application, internal BI, in-app analytics and ML training data onto a single ClickHouse Cloud cluster after Postgres with a time-series plugin struggled with large backfills.

## 2023-07-27

- [How to get your database access code deadlocked in Golang](https://swe.quest/articles/how-to-get-your-database-access-code-deadlocked-in-golang-f01f82ad269b4372.md): Turso · 2023-07-27 · Medium · 5 min read · Go, Concurrency, Debugging, Databases
  In Go's database/sql, failing to close a Rows result can deadlock the program when a loop over query results returns early on error.

## 2023-07-10

- [Better security for your app's secrets](https://swe.quest/articles/better-security-for-your-app-s-secrets-1add70314c176532.md): incident.io · 2023-07-10 · Medium · 9 min read · Security, Cloud platforms, Configuration management, Identity & auth, Go
  incident.io's Go app loads config from per-environment YAML files, overrides values with environment variables, then resolves \`secret-manager:\` references from Google Secret Manager at boot.

## 2023-05-20

- [May 18 Replit downtime](https://swe.quest/articles/may-18-replit-downtime-8ded63600c4e370b.md): Replit · 2023-05-20 · Medium · 4 min read · Incidents & postmortems, Go, Concurrency, Deployment, Configuration management
  A latent Go bug leaked RWMutex read-locks whenever a configuration kind had no handler.

## 2023-04-20

- [Battling database performance](https://swe.quest/articles/battling-database-performance-5c5eb431f69f9020.md): incident.io · 2023-04-20 · Medium · 10 min read · PostgreSQL, Performance engineering, Observability, Go, Incidents & postmortems
  Intermittent API timeouts at incident.io over two weeks traced back to requests blocking on Go's database/sql client-side connection pool, with no single slow query or pool to blame.

## 2023-04-12

- [Keep the monolith, but split the workloads](https://swe.quest/articles/keep-the-monolith-but-split-the-workloads-a46b5ee6a5f1e352.md): incident.io · 2023-04-12 · Medium · 9 min read · Resilience, System design, PostgreSQL, Go, Microservices
  A Go monolith can get much of the reliability isolation of microservices by splitting workloads into separate deployments of the same binary, instead of breaking it into services.

## 2023-03-10

- [Rewriting the CLI in Rust: Was It Worth It?](https://swe.quest/articles/rewriting-the-cli-in-rust-was-it-worth-it-da1e555358ca943e.md): Railway · 2023-03-10 · Medium · 9 min read · Rust, Developer tools, Refactoring & migrations, Go, GraphQL
  Railway rewrote its Go/Cobra CLI in Rust for v3 because the old codebase had untyped, string-defined GraphQL queries, dynamically registered flags that forced ~120 error guards, and assumptions predating multi-service projects.

## 2023-01-31

- [Performance improvements in the Datadog Agent metrics pipeline](https://swe.quest/articles/performance-improvements-in-the-datadog-agent-metrics-pipeline-2d01cccf9e289314.md): Datadog Engineering · 2023-01-31 · Medium · 11 min read · Performance engineering, Go, Observability, Algorithms
  Profiling the Go-based Datadog Agent under heavy DogStatsD load showed that computing a unique context key per metric, especially sorting and deduplicating tags, dominated CPU.

## 2022-11-30

- [Using Server Sent Events to Simplify Real-time Streaming at Scale](https://swe.quest/articles/using-server-sent-events-to-simplify-real-time-streaming-at-scale-27a5424d07541ac7.md): Shopify Engineering · 2022-11-30 · Medium · 9 min read · Real-time systems, Stream processing, Go, Scaling, Load balancing
  Shopify replaced its 2021 BFCM Live Map delivery path, in which WebSocket fed a presentation layer that clients polled through a mailbox system every 10+ seconds, with a Go Server Sent Events server.
- [Intermittent downtime from repeated crashes](https://swe.quest/articles/intermittent-downtime-from-repeated-crashes-9e00050b528fb037.md): incident.io · 2022-11-30 · Medium · 11 min read · Incidents & postmortems, Go, Resilience, Queues & messaging
  A poison-pill Pub/Sub message crashed incident.io's Go monolith on Heroku repeatedly, causing 13 minutes of downtime over 32 minutes.

## 2022-10-20

- [Making code-generation in Go more powerful with generics](https://swe.quest/articles/making-code-generation-in-go-more-powerful-with-generics-5b72d91ebe8db40c.md): incident.io · 2022-10-20 · Medium · 10 min read · Go, Type systems, Testing, Developer productivity
  Combining Go generics with code generation gives type-safe partial structs: a generic Partial\[T\] tracks which fields are set alongside a subject value, enabling safe partial updates through a Gorm wrapper that avoids zero-value overwrites and race conditions.

## 2022-10-04

- [Building a great developer experience at a startup](https://swe.quest/articles/building-a-great-developer-experience-at-a-startup-9f652c5e6c2db88a.md): incident.io · 2022-10-04 · Medium · 8 min read · Developer productivity, Go, TypeScript, Observability, CI/CD
  incident.io treats developer experience as leverage for sustaining engineering pace without accruing technical or product debt.

## 2022-09-14

- [Building Workflows, Part 2 – the executor and evaluation](https://swe.quest/articles/building-workflows-part-2-the-executor-and-evaluation-b966efc6ca5866f8.md): incident.io · 2022-09-14 · Medium · 19 min read · PostgreSQL, Scheduling, Queues & messaging, System design, Go
  incident.io's workflow executor listens for trigger events, evaluates workflow conditions against a scope, and creates a workflow run before executing steps.
- [Building Workflows, Part 1 — Core concepts and the Workflow Builder](https://swe.quest/articles/building-workflows-part-1-core-concepts-and-the-workflow-builder-afa9deefdc8b5feb.md): incident.io · 2022-09-14 · Medium · 18 min read · System design, Go, Product engineering, API design
  incident.io's Workflows feature ("when X happens, if Y, do Z") is built as a small, statically typed programming language in Go.

## 2022-09-09

- [Leveraging Go Worker Pools to Scale Server-side Data Sharing](https://swe.quest/articles/leveraging-go-worker-pools-to-scale-server-side-data-sharing-5ace4b0b544c8996.md): Shopify Engineering · 2022-09-09 · Medium · 7 min read · Go, Concurrency, Performance engineering, Queues & messaging, Scaling
  Shopify's Server Pixels service, a Go pipeline that consumes over a billion customer events per day from Kafka, fell behind on consumer lag because it spawned an unbounded number of goroutines to process and produce event batches.

## 2022-07-07

- [Tracing Gorm queries with OpenCensus & Google Cloud Tracing](https://swe.quest/articles/tracing-gorm-queries-with-opencensus-google-cloud-tracing-0546b4ac4bd6b7cf.md): incident.io · 2022-07-07 · Medium · 6 min read · Observability, Go, PostgreSQL
  Gorm's Callbacks API can wrap every Postgres query in an OpenCensus span that feeds Google Cloud Tracing: a before-callback starts the span only when a parent span exists, and an after-callback ends it.

## 2022-04-22

- [Reducing our pager load](https://swe.quest/articles/reducing-our-pager-load-9bf7f4a021b251f9.md): incident.io · 2022-04-22 · Medium · 7 min read · Incidents & postmortems, Observability, Go, SRE
  incident.io pages on every Sentry error, and cut the resulting noise with four quick changes instead of switching to error-rate alerting.

## 2022-04-21

- [Improving Git push times through faster server side hooks](https://swe.quest/articles/improving-git-push-times-through-faster-server-side-hooks-21ad6ccb34bf4962.md): GitHub Engineering · 2022-04-21 · Medium · 5 min read · Performance engineering, Version control, Go, Ruby, Refactoring & migrations
  GitHub cut pre-receive hook execution time on every Git push from about 880ms median to 10ms, dropping P99 by 95%, by rewriting the hooks from Ruby into its Go Git service.

## 2022-04-06

- [Making Go errors play nice with Sentry](https://swe.quest/articles/making-go-errors-play-nice-with-sentry-9b25169c23478cdf.md): incident.io · 2022-04-06 · Medium · 8 min read · Go, Observability, Debugging
  Standard Go errors carry no stacktraces, which makes Sentry nearly useless, so incident.io standardized on pkg/errors and wraps every returned error to capture a trace at the deepest frame.

## 2022-03-17

- [Using Terraform to Manage Infrastructure](https://swe.quest/articles/using-terraform-to-manage-infrastructure-d186c1bad18dabed.md): Shopify Engineering · 2022-03-17 · Medium · 8 min read · Infrastructure as code, Go, Configuration management, Communications
  Shopify's Conversations team replaced GUI-based configuration of Twilio TaskRouter, which routes contact-center tasks to agents, with Terraform.

## 2022-03-11

- [Rolling out Roles](https://swe.quest/articles/rolling-out-roles-feb5c6f49f33b701.md): incident.io · 2022-03-11 · Medium · 6 min read · Identity & auth, Deployment, Product engineering, Go, TypeScript
  incident.io added role-based access control by mapping a fixed set of customer-facing roles (owner, admin, etc.) to granular internal scopes.

## 2022-03-04

- [Adding the V8 CPU Profiler to v8go](https://swe.quest/articles/adding-the-v8-cpu-profiler-to-v8go-57f5c1c58134c15f.md): Shopify Engineering · 2022-03-04 · Medium · 10 min read · Go, Performance engineering, API design, Runtimes & VMs, JavaScript
  Exposing V8's CPU profiler through v8go, the Go library for running JavaScript in V8 isolates via Cgo, came down to a choice between lazily fetching each profile node property with its own Cgo call or eagerly building the whole call tree in C++ and rebuilding it in Go from a single pointer.

[Next page](https://swe.quest/tags/go.md?per=96&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=go](https://swe.quest/feed.xml?tag=go). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
