home pagelogo
Home
About
Work
Blog
Contact
Technical Writing & Case Studies

Engineering Notes & Insights

Articles and deep dives on architecting scalable backend systems, high-throughput caching, enterprise commerce, and LLM-powered AI agent pipelines.

Aug 25, 20267 min read

Architecting Production AI Agent Workflows with FastAPI, Next.js, and LLMs

A comprehensive guide to building resilient, streaming AI agent systems with FastAPI asynchronous workers, structured schema validation, pgvector semantic search, and real-time frontend updates in Next.js.

FastAPI
AI Agents
Python
Next.js
Read full article
Aug 25, 20266 min read

Optimizing PostgreSQL & Multi-Tier Redis Caching for 200k+ SKUs: Reducing Latency from ~40s to <6s

How we diagnosed severe enterprise search query bottlenecks using EXPLAIN ANALYZE, restructured composite B-Tree/GIN indexes, and implemented a multi-tier Redis cache invalidation strategy for 200,000+ store-specific SKUs.

PostgreSQL
Redis
Performance
System Design
Read full article

Connect with me

WebsiteGithubLinkedinTwitterWhatsAppInstagramFacebook

© 2026 Jaykumar Kanjia · Sr. Software Engineer · Next.js & Payload CMS