SMSahasrajith Minconcurrency-in-go.hashnode.dev·7h ago · 50 min readI Built a Database That Survives Its Own Servers Dying. Here's How.1. The problem nobody warns you about Let me begin with a small confession. When I first heard the phrase "fault-tolerant distributed system," I imagined it was mostly a matter of buying more machines00
AKAman Kumarinamankumar29.hashnode.dev·1d ago · 15 min readGo Learning NotesCommand-Line Arguments in Go Mental model Go exposes command-line arguments through: os.Args os.Args is a []string. os.Args[0] is the program name/path. os.Args[1:] contains the arguments supplied 00
JTJAY TANKinjaytank.hashnode.dev·1d ago · 8 min readThe retry that charged your customer twiceThe retry that charged your customer twice Nobody wrote a bug. There is no null pointer, no off-by-one, no race you can reproduce by hammering a loop. The code did exactly what it says: it took a requ00
TKTuhin Kumar Duttaintechtrail.tuhindutta.com·4d ago · 9 min readBuilding Scratchpad: Rethinking the Local AI WorkspaceMost conversations around local AI still revolve around the models themselves. Which model should I run? How much VRAM do I need? Should I use a larger reasoning model or a smaller, faster one? Those 00
FFerinferztyle.me·5d ago · 15 min readLeetCode #345 in Go: reverse vowels of a string, and how strings, bytes, and runes work in Go Why I started this series A while back, I went through a job interview that included a coding challenge. It looked pretty easy, so I finished in like 90 seconds, and all tests passed! Then, the (non-t23A
RSrnav Sarojinsneezingmonkey.hashnode.dev·Aug 3 · 10 min readBUILDING A DISTRIBUTED RATE LIMITER IN GOLANGFor the past few months I have been applying to a lot of companies (probably over a thousand of them lol) and expectedly most of them rejected me.However , I did get a few interviews from a few of the10
SMSahasrajith Minconcurrency-in-go.hashnode.dev·Jul 31 · 38 min readThe MapReduce Journey: From "What's a Socket?" to a Fault-Tolerant Distributed System.The full, runnable code is on github: distributed-mapreduce A few months ago, I could not have told you what a socket was. I knew what a .so file looked like in a folder, but not what it was. I had re00
ASAbhijeet Shindeinweeklyupdate.hashnode.dev·Jul 30 · 5 min readLearning Go, Week 2: Time, Memory Management, Pointers, and SlicesLast week I wrote about starting Go from the fundamentals — the toolchain, the type system, zero values, and why the language is strict about things like unused variables. This week I moved from synta00
HKHamed Karbasiinhamedkarbasi.com·Jul 28 · 18 min readBenchmark, Profile, Prove: A 12x Go Performance WinSomeone asked me a simple question about the Grafana Kafka Datasource plugin: how many messages per second can it actually handle? I had no honest answer. I had a feeling, and feelings are not numbers42N
Cchrolloinchrollo.hashnode.dev·Jul 29 · 6 min readBuild a contiguous memory allocator in GoThis is my first please forgive me for any mistakes. I will discuss I will discuss how you can make a simple contiguous memory allocator in golang. What is memory management? Memory management control00