Dev Journal
Notes on Python, Next.js & systems
Long-form writing on the things I break and occasionally fix — from interpreter internals to edge infrastructure.
Writing a zero-copy parser in Python without losing your mind
Memoryviews, buffer protocols, and the surprising places the CPython interpreter still copies bytes behind your back.
PythonSystems ArchitectureAug 4, 20269 minStreaming Server Components: what actually happens on the wire
A byte-level look at how the Next.js App Router flushes RSC payloads and why suspense boundaries change your TTFB.
Next.jsSystems ArchitectureJul 22, 202612 minBackpressure is a feature, not a bug
Designing ingestion pipelines that slow down gracefully instead of falling over. Queues, bounded channels, and load shedding.
Systems ArchitectureJul 9, 20267 minTyped settings in Python with dataclasses and __post_init__
Killing the untyped config dict for good. Validation, defaults, and environment overrides without a heavyweight framework.
PythonJun 28, 20266 minEdge caching Next.js at scale without cache stampedes
Stale-while-revalidate, request coalescing, and the revalidateTag changes that quietly fixed our thundering herd.
Next.jsJun 15, 202610 min