Atomic writes in Go: temp file, fsync, rename
Every write to data.json in lunch-tracker goes through a temp file in the same directory, an explicit fsync, then a rename. Three lines of reasoning turn that into correctness.
Every write to data.json in lunch-tracker goes through a temp file in the same directory, an explicit fsync, then a rename. Three lines of reasoning turn that into correctness.
A live lunch-eligibility countdown kept in sync between the Pathao HRMS web UI and a tiny Go backend. See the engineering case study below.
A personal finance tracker for categorizing expenses, setting monthly budgets, and visualizing where the money goes.
How I optimized my VPS deployment strategy to save resources
Real-time chat built with Go, WebSockets, and Redis pub/sub for horizontal scaling.