Operations | Monitoring | ITSM | DevOps | Cloud

How Sentry could stop npm from breaking the Internet

Caching is great! When it works… When it fails, it puts a big load on your backend, resulting in either a self-inflicted DoS, increased server bills, or both. This article is inspired by a real-world incident that happened to npm back in 2016. In the next part, Ben recounts his personal experience responding to the incident while working at npm.

Mastering NodeJS Performance Monitoring - A Practical Guide using Open Source Tools

Node.js powers some of the fastest-growing web applications, but its single-threaded nature makes it vulnerable to memory leaks and CPU spikes. To keep your app running smoothly, especially in production, you need more than just web server logs — you need complete visibility across the entire stack.

How to Set Up Logging in Node.js (Without Overthinking It)

Logging in Node.js might not be the most exciting part of development, but it’s one of the most important. Whether you're troubleshooting bugs or keeping track of how your app is running, good logs make life easier. Let’s break down how to set up logging the right way.

Pino Logger: The Fastest and Efficient Node.js Logging Library

Logging is an integral part of any production-ready Node.js application. Whether you're debugging issues, monitoring application performance, or setting up a centralized logging system, an efficient logger is crucial. Pino is one of the best choices available due to its speed, low overhead, and powerful features. This guide goes beyond the basics, providing an in-depth exploration of how to optimize Pino for your applications, use advanced features, and integrate it seamlessly with other tools.

Observability for your NodeJS AWS Serverless Applications

Hi there, and welcome to the first video in this series on observing AWS serverless applications with Datadog. In this video, you’ll learn how easy it is to get started observing your serverless NodeJS applications using Datadog and the AWS CDK. You’ll also look at how you can use the Datadog console to diagnose latency issues and errors inside your application. You’ll walk away with an understanding of how to instrument your Lambda functions with the AWS CDK, as well as practical steps you can take to debug your applications.

Node.js Worker Threads Explained (Without the Headache)

Node.js has gained popularity for its event-driven, non-blocking I/O model, which excels at handling multiple tasks simultaneously. However, despite its single-threaded nature, Node.js faces limitations when it comes to CPU-intensive tasks. Worker threads provide a solution to this challenge. In this guide, we’ll explore what worker threads are, how they work, and how to use them effectively in your Node.js applications.

How to Set Up and Manage Cron Jobs in Node.js: Step-by-Step Guide

Cron jobs are an essential tool for automating repetitive tasks in backend development. Whether you're running scheduled tasks like sending out emails, cleaning up databases, or performing regular backups, a cron job in Node.js can handle the heavy lifting. In this guide, we’ll walk through everything you need to know about cron jobs in Node.js, from setup to execution.