Add SSL to Drizzle + NestJS for AWS RDS (Postgres)

Add SSL to Drizzle + NestJS for AWS RDS (Postgres)

Encrypting database traffic isn’t optional—especially if you’re handling user data or building anything that might one day need audits or certifications. Fortunately, enabling SSL/TLS for Postgres on AWS RDS with Drizzle ORM (node-postgres) in a NestJS app is...
Express vs Fastify: A Performance Benchmark Comparison

Express vs Fastify: A Performance Benchmark Comparison

Introduction: Why Benchmark Express vs Fastify Express has been the de facto web framework for Node.js since its launch in 2010, known for its simplicity and huge ecosystem of middleware and plugins (Express vs Fastify: A Performace Comparison | by Chetan Jain |...
Optimizing NestJS Performance with HTTP Keep-Alive

Optimizing NestJS Performance with HTTP Keep-Alive

HTTP Keep-Alive, also known as HTTP persistent connection, is the practice of reusing a single TCP connection to send multiple HTTP requests and responses, instead of opening a new connection for every request (HTTP persistent connection – Wikipedia). In modern...
When to use Microservices in Node.js

When to use Microservices in Node.js

Introduction In Node.js development, one of the key architectural decisions is whether to build your application as a monolithic unit or as a collection of microservices. A monolithic architecture means your entire application (UI, server-side logic, database access,...
Node.js Graceful Termination

Node.js Graceful Termination

In a Kubernetes environment, graceful termination is essential for ensuring smooth transitions during deployments or scaling in your Node.js applications. Learn how we can handle the SIGTERM signal that Kubernetes sends when terminating a pod. This allows Node.js to...