Hi there!

Nakul Chawla

Hi, I’m Nakul โ€” a software engineer exploring the edges of infrastructure.

I’m passionate about building reliable systems at scale. You’ll usually find me working on distributed systems, performance tuning, or experimenting with ML infrastructure โ€” from tracing pipelines to real-time data flows.

This space is a mix of notes, ideas, and deep dives into topics I’m exploring or just tinkering with tools I am interested in.

I write primarily to clarify my own thinking, but if any of it helps you, that’s a bonus.

๐Ÿค Connect with me:

๐Ÿ’ผ LinkedIn ยท ๐Ÿ’ป GitHub ยท ๐Ÿ“Š Stack Overflow ยท ๐Ÿ“ฌ Email


๐Ÿ“„ Download Resume

Parchment - contextual logging in go

In many Go projects, structured logging becomes an essential tool for observability. When building microservices or backend APIs, logging with contextual information like request IDs, user IDs, or operation names becomes vital. One challenge, however, is passing logger instances through multiple layers of function calls without cluttering signatures or breaking separation of concerns. This is where parchment comes in โ€” a minimalist wrapper around zerolog that enables logger propagation using Goโ€™s native context.Context. ...

June 8, 2024