







Load balancers are crucial in modern software development. If you've ever wondered how requests are...
How HTTP/2 Works and How to Enable It in Go
HTTP/2 solves head-of-line blocking at the application layer by multiplexing multiple streams over a single TCP connection. While HTTP/1.1 requires requests to be processed sequentially, HTTP/2 allows parallel processing through independent streams, each with its own ID. The Go standard library supports HTTP/2 out of the box when using HTTPS, and with some configuration, it can work over plain HTTP too

Go Web Programming
Build scalable, high-performance web apps in Go with modern design principles.

Gorilla Mux Middleware in Go
Gorilla Mux is a popular request router and dispatcher for the Go programming language. It allows developers to define routes for their web applications, and Gorilla Mux middleware functions attach to those routes to perform additional processing on incoming requests. Routes in Gorilla Mux are defined using the mux.NewRouter() function, which returns a new instance […]

Optimizing Protocol Buffers in Go Applications
If you’ve ever wondered why your Go service is eating memory like it’s at an all-you-can-eat buffet, chances are you haven’t optimized your Protocol Buffers usage. I’ve been there, watching heap profiles with the kind of horror usually reserved for checking your bank account after a night out. But here’s the good news: Protocol Buffers in Go can be wickedly fast and memory-efficient when you know the tricks. Let me walk you through the optimization techniques that transformed my services from memory-hungry monsters into lean, mean, serialization machines.

The Go Programming Language
Go is an open source programming language that makes it simple to build secure, scalable systems.

Thorsten Ball - Why threads can't fork
There is an interesting thread on the Go issue tracker about daemonizing processes. Most of the thread is not about daemonizing processes though, but more about why Go has no Fork() function which you can call directly in your code. The first time I read through it I was wondering and saying to myself: “Yeah, why is there no Fork()? It surely can’t be that hard to implement.” After all you can already call system calls with the syscall package. As I read more and more I realized that the problem is not implementing Fork() per se, but rather implementing Fork() to work safely in a multi-threaded environment, which most Go programs are. So I tried to find out why.

Notes on structured concurrency, or: Go statement considered harmful — njs blog
Every concurrency API needs a way to run code concurrently. Here's some examples of what that looks like using different APIs:
Preserving Order in Concurrent Go Apps: Three Approaches Compared
Concurrency breaks ordering by design, but sometimes we need both. Explore three methods to preserve order in concurrent Go applications, from standard ReplyTo channels to sophisticated permission passing, with benchmarks and real-world trade-offs.

Document: requestStorageAccess() method - Web APIs | MDN
The requestStorageAccess() method of the Document interface allows content loaded in a third-party context (i.e., embedded in an <iframe>) to request access to third-party cookies and unpartitioned state. This is relevant to user agents that, by default, block access to third-party, unpartitioned cookies to improve privacy (e.g., to prevent tracking), and is part of the Storage Access API.

An inside look at gRPC - performance, testing and load balancing, Mon, Jul 22, 2024, 6:00 PM | Meetup
Agenda: 5:30 Doors open 6:00 - 6:05: Announcements 6:05 - 6:30: The rest of the iceberg: performance and testing of the gRPC libraries - Ashley Zhang and AJ Heller 6:30 - 7

HTTP/2 Cleartext (H2C) Client Example in Go
Since my internet foo failed me, and the only workable example of a H2C client I can find was in the actual go test suite I’m going to lay…
Extending Envoy Proxy - WASM Filter with Golang
Envoy is an open source service proxy especially designed for cloud native applications. It has a wide variety of features like connection…
