Next.js
Browse all articles, tutorials, and guides about Next.js
2posts
Posts
⌘K
DevOps
|12 min read
Streaming LLM Responses in Next.js: 1.3s to First Token, Not 15.7s
The same model, the same prompt, and the same DigitalOcean endpoint. One version shows the first words in 1.3 seconds, the other shows a blank screen for nearly 16. The difference is entirely in your route handler.
DevOps
|19 min read
A Postgres Branch Per Learner: Building on Neon
Every hands-on lab gets its own Postgres branch, AI generation runs outside the request cycle, and cleanup is core infrastructure rather than a chore.