Integrating OpenAI into a NestJS API — The Right Way
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Writing
Thoughts on software, engineering, and building things.
8 posts
Search, series, and taxonomy stay available without turning the page into a dashboard.
All groups
0
A quieter filter rail keeps discovery useful without pushing the page into admin-like complexity.
8 articles found.
Showing 1-8 of 8
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Cut your image size by 80%, cache layers intelligently and ship your API in a lean production container.
Indexes, explain analyze, connection pooling and query optimization patterns from real production workloads.
ROW_NUMBER, RANK, LAG/LEAD, PARTITION BY — understand window functions with real examples.
Event loops, coroutines, tasks and how to avoid the common concurrency mistakes in Python.
Queries, mutations, subscriptions and why GraphQL might be a better fit than REST for your next project.
Guards, interceptors, domain modules and repository pattern — the lessons from shipping three NestJS services.
How I structured a full-stack monorepo with shared types, incremental builds and per-app Docker images.
Writing
Thoughts on software, engineering, and building things.
8 posts
Search, series, and taxonomy stay available without turning the page into a dashboard.
All groups
0
A quieter filter rail keeps discovery useful without pushing the page into admin-like complexity.
8 articles found.
Showing 1-8 of 8
Rate limiting, cost tracking, streaming responses and graceful degradation for AI-powered features.

Cut your image size by 80%, cache layers intelligently and ship your API in a lean production container.
Indexes, explain analyze, connection pooling and query optimization patterns from real production workloads.
ROW_NUMBER, RANK, LAG/LEAD, PARTITION BY — understand window functions with real examples.
Event loops, coroutines, tasks and how to avoid the common concurrency mistakes in Python.
Queries, mutations, subscriptions and why GraphQL might be a better fit than REST for your next project.
Guards, interceptors, domain modules and repository pattern — the lessons from shipping three NestJS services.
How I structured a full-stack monorepo with shared types, incremental builds and per-app Docker images.