
Build a Load Balancer in Go With Active Health Checks
Build an HTTP load balancer in Go with round robin and least connections, active health checks with rise and fall thresholds, and passive failure marking.
Everything you need to level up your coding skills.

Build an HTTP load balancer in Go with round robin and least connections, active health checks with rise and fall thresholds, and passive failure marking.

Add full-text search to a Go site with SQLite FTS5: stemming, bm25 ranking, highlighted snippets, search as you type and safe handling of raw user queries.

What Go's experimental encoding/json/v2 changes: case-sensitive keys, rejected duplicates, empty arrays for nil slices, Duration formats. v1 unchanged.

The zero value http.Client and http.Get have no timeout, lose connections when a body is not drained and read unlimited data. See each failure and its fix.

Use templ components with the standard mux, chi, gin and echo: templ.Handler, path parameters, 404 pages, status codes and the differences between routers.

Build a small OAuth 2 server in Go: client credentials, authorization code with PKCE, exact redirect matching, single-use codes and a scope-checking API.

Compare the Go 1.22 standard library mux with chi, gin, echo, gorilla mux and httprouter on routing speed, 405 handling and trailing slashes.

REST API design rules for Go services, from URLs and methods to errors, paging and versioning, with a small linter that checks the URL rules.

Implement long polling in Go with a cursor, a wait that ends on publish, timeout or disconnect, and learn when it beats WebSockets and server sent events.

Build a blog engine in Go that embeds Markdown files, parses front matter, hides drafts and scheduled posts and serves index, tag and post pages.

Tell absent, null and zero apart when decoding JSON in Go: why pointers fail, what RawMessage and a generic Optional give you, and omitzero on output.

Publish counters and gauges from a Go service with the standard library expvar package, mount its handler safely and see when Prometheus is the better choice.
We send one email when a new article is published. No spam.