Choosing Boring Technology: Linux, PostgreSQL and Go's Standard Library

Why I default to Linux, PostgreSQL and the Go standard library on client projects, and what that has meant for maintenance time.

· 3 min read · Erik Kubica

One of the more useful decisions I made over a decade of backend work was defaulting to dull, mature technology.

Every year a new runtime, database, or frontend meta-framework promises to change things, and people praise the developer experience. Teams adopt it in production, partly to feel modern. Sometimes that is the right call.

On projects I have worked on, a couple of years later the framework announced version 2.0 with a breaking API rewrite, the documentation went stale, and the team spent something like €15,000 in billable hours migrating syntax to keep security patches flowing.

Innovation Tokens

Dan McKinley wrote about "innovation tokens". His idea is that a team only has a few to spend before complexity gets in the way of the business problem.

If you spend one on a distributed graph database, another on a bleeding-edge language runtime, and a third on an experimental serverless platform, there is not much attention left for the actual product.

I try not to spend tokens on infrastructure. My default production stack is dull on purpose:

  1. Operating System: Debian or Ubuntu LTS.
  2. Database: PostgreSQL with standard B-tree indexes.
  3. Application: Go using net/http and standard library packages.
  4. Process Supervision: Linux systemd.
  5. Hosting: A dedicated box or standard cloud Linux instance.

Here is the HTTP service skeleton I start from, with graceful shutdown:

package main

import (
    "context"
    "net/http"
    "os"
    "os/signal"
    "syscall"
    "time"
)

func main() {
    mux := http.NewServeMux()
    mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
        w.WriteHeader(http.StatusOK)
        w.Write([]byte("ok"))
    })

    srv := &http.Server{
        Addr:         ":8080",
        Handler:      mux,
        ReadTimeout:  5 * time.Second,
        WriteTimeout: 10 * time.Second,
    }

    go srv.ListenAndServe()

    stop := make(chan os.Signal, 1)
    signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)
    <-stop

    ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)
    defer cancel()
    srv.Shutdown(ctx)
}

What Low Churn Looked Like for Me

I have Go backends deployed in 2018 running on Ubuntu 20.04. They have not been rewritten or needed emergency framework refactoring. They compile in about 3 seconds, idle at around 16 MB of RAM, and have been running with roughly 99.98% uptime.

For comparison, here is how a few client applications I took over, built on a popular JavaScript stack of 2020, looked next to my own Go and Postgres projects. These are rough figures from those specific projects, not a general rule:

Stack Layer JS stack (2020–2026) on those projects Go + Postgres on mine
Bundler Churn Webpack -> Rollup -> Vite -> Turbopack No bundler (go build)
Database Ops Managed NoSQL + Redis Cache ($180/mo) Postgres on local disk (included on $15 node)
Maintenance Time About 15 hrs / month updating dependencies About 30 minutes / month OS patches
Annual Churn Cost About €4,500 in non-feature engineering Close to nothing in framework churn

Boring does not mean obsolete. It means the failure modes are well documented.

When Postgres misbehaves under heavy load, plenty of people have hit the same lock contention before and written about it. When something newer fails at 3 AM on a Saturday, you may be the first person filing the issue.

That said, newer tools sometimes are the right fit, for example when a project needs something the boring option cannot do. I just try to make that a deliberate choice and spend only as many tokens as the project needs.

My priorities are to keep client systems online, keep server costs reasonable, and keep the pager quiet. For me, a boring stack has been a reliable way to get there.

Tell me what you need built

Usually a reply within a day, by email or WhatsApp.