InStackademicbyHwardahni·Jul 22I Used context.Background in My Repository and My Timeout Stopped WorkingThe handler had a deadline, the logs showed a timeout, but the database work kept running because one layer quietly ignored the request…
Hwardahni·Jul 16I Built a Safe Bulk Processing Endpoint in Go After One Request Locked the SystemThe endpoint was meant to save time, but one oversized bulk request showed me how quickly convenience can turn into pressure on the whole…
Hwardahni·Jul 15I Added a Concurrency Limit to My Go Handler After One Endpoint Ate the ServerThe endpoint was useful, but without a limit on how many requests could run at the same time, it quietly became the loudest workload in the…
Hwardahni·Jul 14I Optimized JSON in My Go API and Found the Real Cost of SerializationThe endpoint looked like a database problem, but the flame graph showed that my API was spending too much time turning objects into JSON.
Hwardahni·Jul 13The Hidden Bug in My Go Cache That Returned Stale DataThe cache made my API faster, but it also taught me that fast wrong data is still wrong data.
Hwardahni·Jul 12My Go Service Sent the Same Event Twice Because I Ignored the Outbox PatternThe event looked harmless when I published it after saving the order, until one retry made another service believe the same business action…
Hwardahni·Jul 11I Built a Circuit Breaker in Go After One Provider Took Down My APIThe provider was only one dependency, but when it slowed down, my whole API started behaving like the dependency was in control.
Hwardahni·Jul 10My Go API Was Fast Locally, But Kubernetes Told a Different StoryMy laptop made the service look fast, but the container showed me what real CPU limits, probes, and runtime settings can do to latency.
Hwardahni·Jul 9Graceful Shutdown in Go: The Bug I Ignored Until DeploymentThe service worked perfectly in local testing, then deployment taught me what happens when running requests and background jobs are forced…
Hwardahni·Jul 8I Used Channels Where a Mutex Was EnoughI wanted my concurrency code to feel idiomatic, but production taught me that the simplest synchronization tool is often the one that keeps…