Blog

Thoughts on software development, architecture, and technology

Tech News
Security
Postgres
AI
Next.js
Observability
Performance
Node.js
P
Nov 13, 2026
•
34 views

Patch Week: Git Clones, 52 Postgres CVEs, Node 27 Certificates and Smarter Coding Agents

Git, PostgreSQL and Node.js all shipped releases web developers should care about this week, and Chrome wants to teach your coding agent the modern web.

Tech News
Security
Postgres
Read More
H
Nov 9, 2026
•
62 views

How I Found a Slow Next.js Route With OpenTelemetry Tracing and Custom Spans

How I wired OpenTelemetry into Next.js with instrumentation.ts, added custom spans, and used the trace waterfall to find a hidden bottleneck.

Next.js
Observability
Performance
Read More
H
Nov 8, 2026
•
54 views

How I Hardened Session Cookies in Next.js With __Host-, HttpOnly and SameSite

What each cookie attribute really protects against, why the __Host- prefix matters, and the session cookie setup I now ship in Next.js.

Next.js
Security
Authentication
Read More
H
Oct 27, 2026
•
86 views

How I Made Cron Jobs Run Exactly Once Across Instances With Postgres Advisory Locks

Two instances, two copies of every scheduled job. Here's how I used Postgres advisory locks from Prisma to fix it, and the pooling trap to avoid.

Postgres
Prisma
System Design
Read More
H
Oct 17, 2026
•
138 views

How I Rate Limited My Next.js API With a Sliding Window in Redis

Fixed-window counters let bursts slip through. Here's how I built an accurate, atomic sliding window rate limiter with Redis sorted sets and Lua.

Next.js
Redis
Security
Read More
H
Oct 13, 2026
•
280 views

How I Replaced Offset Pagination With Cursor Pagination in Prisma and Postgres

Why OFFSET slows down and duplicates rows on big tables, and how I built fast, stable keyset pagination with Prisma, Postgres and a composite index.

Prisma
Postgres
Performance
Read More
H
Oct 8, 2026
•
312 views

How I Added a Strict Content Security Policy With Nonces in Next.js

A practical walkthrough of nonce-based CSP in the Next.js App Router: the proxy setup, third-party scripts, the dynamic rendering cost, and a safe rollout.

Next.js
Security
React
Read More
H
Oct 7, 2026
•
268 views

How I Stopped Dropping Requests on Deploy With Graceful Shutdown in Node.js

Handling SIGTERM, draining keep-alive connections and closing Prisma in the right order so Docker and Kubernetes deploys stop causing 502s.

Node.js
DevOps
Docker
Read More
H
Oct 6, 2026
•
350 views

How I Validate Environment Variables at Startup With Zod in Next.js

A missing env var broke my checkout in production. Here's how I validate every variable with Zod 4 so bad config fails the build, not the user.

Next.js
TypeScript
DevOps
Read More
H
Oct 5, 2026
•
326 views

How I Fixed Race Conditions in React Data Fetching With AbortController

Stale responses were overwriting fresh search results. Here is how AbortController fixed it in React, and why I now use it on the server too.

React
TypeScript
Next.js
Read More
H
Oct 4, 2026
•
286 views

How I Made My API Safe to Retry With Idempotency Keys

A dropped connection created duplicate orders in my app. Here is how idempotency keys, Prisma and a Postgres unique constraint made retries safe.

APIs
System Design
Prisma
Read More
H
Oct 3, 2026
•
190 views

How I Cut My Next.js CI Build Time With GitHub Actions Caching

Cache the npm download cache and .next/cache in GitHub Actions with the right keys, so every push stops running a cold Next.js build.

Next.js
CI/CD
GitHub Actions
Read More
W
Oct 2, 2026
•
354 views

Why Comparing API Keys With === Is a Security Bug (and How to Fix It in Node.js)

How timing attacks leak secrets through string comparison, and how to use crypto.timingSafeEqual for API keys, tokens and webhook signatures.

Security
Node.js
Next.js
Read More
H
Oct 2, 2026
•
220 views

How a Composite Index Fixed My Slow Prisma Query in Postgres

Why column order matters in Postgres composite indexes, and how I used EXPLAIN ANALYZE and Prisma's @@index to fix a slow paginated query.

Postgres
Prisma
Performance
Read More
W
Nov 20, 2025
•
932 views

What is TOON?

What is TOON? How Token-Oriented Object Notation works under the hood ?

Web Development
Toon
Json
Read More
M
Oct 21, 2025
•
988 views

Microservices vs Monolithic Architecture

Microservices vs Monolithic Architecture: A Comprehensive Guide to Choosing the Right Approach

Microservices
Monolithic
Architecture
Read More
W
Oct 21, 2025
•
978 views

What is REST API vs GraphQL?

REST API vs GraphQL: Choosing the Right API Architecture for Your Project

RestApi
Graphql
Read More
Modern web development in 2025
Oct 17, 2025
•
1030 views

Modern web development in 2025

Modern web development in 2025

Web development
Read More