Blog
Writing about engineering, architecture, and building things that last.
Why Pre-AI Advice is Dead: Unlearning at YC SUS Bangalore 2025
I went to YC Startup School expecting to hear about genius day-one ideas. Instead, I learned why you should ignore current AI limitations, treat regulatory hell as a moat, and throw out pre-AI startup advice entirely.
Read post →Practical Dataloading with Strawberry GraphQL and Aioinject
This blog post tackles the N+1 query problem in GraphQL by introducing dataloaders for batching requests and reducing database calls. It walks through setting up Aioinject, an async dependency injection library, to manage dataloader lifecycle efficiently with FastAPI and Strawberry GraphQL. The post explores three iterations of dataloader implementation, showing how to eliminate global state, improve performance, and support advanced features like key transformations and reusable factories.
Read post →Secure Session Management with JWE/JWS in FastAPI and Next.js
This article explores secure session management using JWE and JWS in FastAPI and Next.js. Key considerations include balancing security, client-side accessibility, and performance. JWS is recommended for non-sensitive data needing frontend access, while JWE adds encryption for critical use cases. Both methods rely on standardized libraries and secure key management to ensure integrity and confidentiality in decoupled architectures.
Read post →Using Relay with Next.js and React Server Components (RSC)
This blog post explores how to integrate Relay and Next.js with React Server Components (RSC), addressing a gap in existing resources. While Relay excels as a GraphQL client for Client-Side Rendering (CSR), this guide demonstrates its potential for RSC use cases, which is vital for applications prioritizing SEO and faster initial load times.
Read post →My Tech Stack for building lean and mean HTTP APIs with Python
When it comes to building lightweight and efficient HTTP APIs, Python offers a fantastic ecosystem of tools that enable you to create robust, scalable, and maintainable backends. In this post, I'll walk you through my tech stack for building lean and mean APIs with Python. Each component has been chosen to maximize efficiency, readability, and modern best practices.
Read post →Persisted Queries with Relay, Strawberry GraphQL and FastAPI
In this tutorial, we’ll walk through how to integrate Strawberry GraphQL and FastAPI with Relay to enable persisted queries, which can significantly boost the performance of GraphQL applications. We’ll cover setting up a Relay environment on the client side, configuring a GraphQL server to handle persisted queries, and extending the Strawberry GraphQL schema to manage these queries.
Read post →