Radish, Keep Going!
Author

Radish, Keep Going!

Personal sharing

90
Articles
0
Likes
104
Views
0
Comments
Recent Articles

Latest from Radish, Keep Going!

90 recent articles
Radish, Keep Going!
Radish, Keep Going!
Jan 20, 2025 · Fundamentals

Why Memory Alignment Matters in Go: Performance, Pitfalls, and Tools

This article explains Go's memory alignment concepts, why alignment is needed, demonstrates real-world layout differences with examples, discusses performance and portability impacts, and introduces tools like fieldalignment and structlayout to detect and fix alignment issues in Go programs.

Toolingmemory alignmentstruct
0 likes · 14 min read
Why Memory Alignment Matters in Go: Performance, Pitfalls, and Tools
Radish, Keep Going!
Radish, Keep Going!
Jan 20, 2025 · Backend Development

How to Slash Go Binary Size by Up to 80%: Compiler Flags & UPX

Discover practical techniques to dramatically reduce the size of Go executables—starting with stripping debug symbols using ldflags, then applying UPX compression with optimal settings, and combining both methods to shrink a 6.5 MB binary down to around 1.4 MB, saving up to 80% space.

Compiler Flagsbinary sizeexecutable compression
0 likes · 7 min read
How to Slash Go Binary Size by Up to 80%: Compiler Flags & UPX
Radish, Keep Going!
Radish, Keep Going!
Jan 20, 2025 · Fundamentals

Boost Go Performance: When to Use Reflection and How to Optimize It

This article explains Go's reflect package, shows how reflection can simplify configuration loading, benchmarks the performance cost of reflection versus direct field access, and provides practical tips such as avoiding reflection in hot paths and using indexed field access with caching to dramatically improve speed.

GoOptimizationReflection
0 likes · 10 min read
Boost Go Performance: When to Use Reflection and How to Optimize It
Radish, Keep Going!
Radish, Keep Going!
Jan 16, 2025 · Backend Development

How Hedged Requests Cut Tail Latency in Go Microservices

This article explains the hedged request pattern used by Google to combat microservice tail latency, shows how to implement it in Go with context and goroutines, discusses its impact on latency and load, and explores additional techniques such as SingleFlight and service‑class prioritization to further reduce tail delays.

Backend PerformanceGogRPC
0 likes · 6 min read
How Hedged Requests Cut Tail Latency in Go Microservices
Radish, Keep Going!
Radish, Keep Going!
Jan 14, 2025 · Backend Development

How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution

This article explores multiple in‑memory strategies—using a simple map with timers, per‑driver goroutine management, and especially a Go‑implemented timing wheel—to identify Uber drivers who haven’t reported for ten minutes, comparing their complexities, memory usage, and suitability for large‑scale systems.

GoHeartbeatIn-Memory
0 likes · 12 min read
How to Detect Inactive Uber Drivers Without Third‑Party Tools: Go Time‑Wheel Solution
Radish, Keep Going!
Radish, Keep Going!
Jan 13, 2025 · Fundamentals

Can Go’s New ‘?’ Operator Simplify Error Handling?

The proposal introduces a ‘?’ operator to automatically handle errors in Go, aiming to reduce boilerplate while preserving explicitness, but it raises concerns about code readability, variable shadowing, and the effort required to update existing codebases.

Error HandlingGolanguage proposal
0 likes · 8 min read
Can Go’s New ‘?’ Operator Simplify Error Handling?
Radish, Keep Going!
Radish, Keep Going!
Jan 9, 2025 · Backend Development

Why Go’s Simple Design Sparks Both Praise and Criticism

An in‑depth look at Go’s origins, design goals, and the trade‑offs that provoke both admiration for its simplicity in large‑scale server development and criticism over its limited generics, file‑system API, error handling, and FFI capabilities.

DesignGoProgramming Language
0 likes · 13 min read
Why Go’s Simple Design Sparks Both Praise and Criticism
Radish, Keep Going!
Radish, Keep Going!
Jan 6, 2025 · Information Security

How Much Data Does a Simple HTTPS Request Actually Transfer?

Using a local Go server and Wireshark, the author measured that a basic HTTPS request transmits 2,164 bytes—about ten times more than an equivalent HTTP request—revealing the bandwidth impact of TLS handshakes and suggesting when HTTP may be preferable for internal, non‑sensitive traffic.

BandwidthGoHTTPS
0 likes · 4 min read
How Much Data Does a Simple HTTPS Request Actually Transfer?