PKPoornachandra Kashiintechwithkashi.hashnode.dev·15h ago · 5 min readWhat is Raft Consensus: Understand RAFT without breaking your brainImagine you have three database servers handling user data. A user updates their password. Server A gets the new password, but before it can tell Servers B and C, the network switch connecting them di00
GKGarvit kharbinbyte-the-code.hashnode.dev·10h ago · 20 min readBuilding a Dynamo-style distributed object store from scratch in GoWhat I built Objstore is a Dynamo-style distributed object store, written from scratch in Go. Any node accepts any request, keys live on N replicas chosen by consistent hashing, and concurrent writes 00
JSJaveed Shaikinfreecodecamp.org·12h ago · 9 min readWhat to Do When Your Constants Are Someone Else's LawA colleague once asked me why a number in my code had a comment three lines long. The number was 18. The comment said which rule it came from, which section notified it, and that it could change witho00
PAParsa Aftabiinparsaaftabi.hashnode.dev·1d ago · 7 min readPostgreSQL Connection Pooling in Go: What I Actually Tune in ProductionIn my last post, lesson 3 was "your database is the bottleneck, not Go" — use pgx, size the pool deliberately. A few of you asked what "deliberately" actually means. Fair question. Here's every pgxpoo00
Kkimjooyooningooo-notes.hashnode.dev·2d ago · 5 min readTesting Go-to-Gooo ports without changing the input domainWhen comparing a port with its original implementation, the comparison code becomes part of the experiment. A narrowing integer conversion can change the input before the reference function receives i00
PAParsa Aftabiinparsaaftabi.hashnode.dev·2d ago · 5 min read7 Lessons I Learned Building Production APIs in GoTL;DR: After shipping several production systems in Go — coming from PHP/Laravel — these are the seven lessons that actually mattered: boring project structure, context.Context everywhere, fixing the 02H
VOVitaliy Obolenskiyinskillhacker.hashnode.dev·2d ago · 2 min read🚀 Senior Go Interview Question: The Graceful Shutdown TrapIf you are interviewing for a Senior Backend role in Go, you will almost certainly be asked about concurrency and lifecycle management. Here is a classic question that perfectly separates mid-level de00
HYHamed Yousefiinhmdsefi.hashnode.dev·3d ago · 7 min readFinding cycles and hidden dependencies in go mod graphgo mod graph prints every requirement in your module graph, one per line. For Prometheus that's 2,510 lines covering 893 module versions. All the information is there, but not in a form you can read. 03P
HGHarrison Guoinharrisonsec.hashnode.dev·3d ago · 8 min readUse-After-Free Is a Lifetime Bug, Not a C BugUse-after-free gets taught as a C problem. The lesson lands as "C lets you touch freed memory, so C is dangerous, so use a safer language." That is true and it is also the wrong lesson, because it hid00
DPDávid Pörösindavidporos92.hashnode.dev·4d ago · 6 min readBuilding MarginCMS, part 1: Contract first, code laterI'm building a small CMS in Go. It's called MarginCMS, it has a React admin on top, and it won't replace anything I already use. This series is the build log: what I decided, what I wrote, and what tr00