Loading
Portfolio
Rayden Li
Writing
Slow database queries are the single most common bottleneck in backend applications. Fixing them follows a two-step workflow: isolate the exact queries consu...
MySQL
Redis is an in-memory data store that is especially useful in NestJS applications for caching, distributed state, background jobs, rate limiting, and real-ti...
Redis · NestJS
Cloud Run and Cloud Build are often mentioned together, but they solve different problems:
Google Cloud Platform
JavaScript often looks as if several things happen at once: a timer finishes, a network response arrives, and a Promise resolves. On a browser's main thread,...
Node.js · JavaScript
This guide builds a production Docker image for a Node.js/Next.js application, then explains every Dockerfile instruction. The same principles—small build co...
Docker
Vercel is the fastest path for a standard Next.js app: it is built by the Next.js team and requires almost no deployment configuration. Cloudflare is stronge...
Next.js · Vercel · Cloudflare
This guide builds a Docker image with Cloud Build, stores it in Artifact Registry, and deploys it to a private Cloud Run service. The example uses separate i...
CI/CD · Google Cloud Platform · Docker
This guide builds a production Docker image for an existing Next.js application, stores it in Artifact Registry, and deploys it to Cloud Run through Cloud Bu...
CI/CD · Docker · Google Cloud Platform · Next.js
Production debugging is not the same as running the application with a debugger attached. The goal is to restore service safely, preserve evidence, and ident...
NestJS
A slow MongoDB query is usually a shape problem. The filter, the sort, and the fields you return do not line up with an index, so the server scans documents...
MongoDB
Next.js 16 makes Turbopack the default bundler and removes the last synchronous access to request APIs. It also renames middleware to proxy, and it ships wit...
Next.js · TypeScript · React