archive

WritingRust, Next.js & AI engineering

intro

Long-form notes on production incidents, distributed systems debugging, AI engineering with AWS Bedrock, modern Next.js SEO, and Rust + WebAssembly performance work. Articles are published here; some are also syndicated to Medium.

articles

  1. Getting Code Merged Into Meta's Pyrefly and ReductStore

    June 2026 · 6 min read

    Merged Rust contributions in two production projects — Meta's Pyrefly type checker and ReductStore. The mechanics nobody tells you: reproduce before you claim, pick deterministic bugs, and treat maintainers as colleagues.

    • Open Source
    • Rust
    • Pyrefly
    • ReductStore
    • Contributing
    • Software Engineering
  2. Optimistic UIs in React with RFC 6902 JSON Patch

    June 2026 · 8 min read

    RFC 6902 JSON Patch gives you one primitive for optimistic updates, rollback on failure, and undo/redo. Here's the pattern, in React, with a Rust/WASM diff engine.

    • React
    • RFC 6902
    • JSON Patch
    • Optimistic UI
    • Undo/Redo
    • diffcore
  3. Next.js SEO in 2026: A Practical Guide

    March 2026 · 10 min read

    What actually moves the needle for Next.js SEO in 2026: the Metadata API, JSON-LD, llms.txt for AI crawlers, honest sitemaps, and INP — with the App Router specifics.

    • Next.js
    • SEO
    • Metadata API
    • JSON-LD
    • llms.txt
    • Core Web Vitals
  4. Fixing a Redis Polling Bottleneck in Production

    February 2026 · 6 min read

    A naive SCAN-and-check loop over a remote Redis timed out at 100 seconds in production. Batched MGET with client-side filtering cut the work ~90% and ended the timeouts.

    • Redis
    • Performance
    • Node.js
    • Distributed Systems
    • Debugging

more soon

Upcoming: AWS Bedrock streaming patterns, Cloudflare Workers + Neon Postgres RLS for multi-tenant SaaS, and Rust workers-rs latency benchmarks against TypeScript handlers. Follow on X or Medium to get them when they ship.

Thanks for reading. Love your work, keep it up!