by mguay | Nov 23, 2024 | DevOps, Node.js, Post
When building Node.js applications that rely on message brokers for asynchronous communication, developers often face the challenge of choosing between Apache Kafka and Apache Pulsar. While both are excellent distributed messaging systems, Pulsar has distinct...
by mguay | Oct 20, 2024 | Kubernetes, Lecture, NestJS, Node.js
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...
by mguay | Oct 6, 2024 | Lecture, NestJS
We’ll dive into setting up multitenancy in a NestJS application using Drizzle ORM and Async Local Storage. This powerful combination allows you to efficiently manage multiple tenants in your application with minimal hassle....
by mguay | Sep 5, 2024 | NestJS, Post
Decorators are a design pattern that can help us to write cleaner code that adheres to the Single Responsibility Principe and Open-closed Principle. In object-oriented programming, the decorator pattern is a design pattern that allows behavior to be added to an...
by mguay | Aug 13, 2024 | NestJS, Post
This article will show how we can utilize the powerful class-transformer library to implement clean domain-driven code in a NestJS application. By the end, you will have a pattern to implement NestJS domain-driven design. Class Transformer Its ES6 and Typescript era....