Curiosity Made Me Ask

A place for the random questions that sent me down a rabbit hole: how things work, why they break, and what makes certain systems feel beautifully designed. Mostly backend, systems, and tech, with the occasional detour into whatever else catches my attention.

How to Publish and Receive Messages with Google Pub/Sub in Node.js

Google Cloud Pub/Sub employs a publish-subscribe model, streamlining modern software communication and reshaping how information is shared. Publishers send messages to topics, and subscribers interested in those messages can retrieve them flexibly and asynchronously. This approach redefines the rules of engagement for both microservices and monolith applications. In this article, we’ll explore the workings of Google Cloud Pub/Sub, delve into common use cases, and demonstrate how to seamlessly integrate Google Pub/Sub with Node.js for real-world scenarios.

otherMay 18, 2026
nodejspub sub

How to setup CI/CD with Node.js and a GitHub Actions Runner Hosted on AWS EC2

You and your team have spent countless hours meticulously crafting a groundbreaking application that could propel your Startup to new heights. Your code is a work of art, and you can’t wait to share it with the world. But as you prepare to deploy it to your production environment, disaster strikes! A critical bug emerges, bringing your entire application crashing down. The application hasn’t run through a Continuous Integration/Continuous Deployment (CI/CD) pipeline that would have flushed out this bug much earlier.

otherMay 18, 2026
nodejsgitaction workflow

Optimizing Node.js Application Performance with Caching

Endpoints or APIs that perform complex computations and handle large amounts of data face several performance and responsiveness challenges. This occurs because each request initiates a computation or data retrieval process from scratch, which can take time. As a result, users and services that use our application might experience slower performance. An effective solution to this problem is to implement a caching mechanism.

otherMay 18, 2026
nodejscache

Understanding Socket.IO: Building a simple real-time chat app with Node.js and Socket.IO

Traditional web applications primarily used the HTTP request-response model, where clients sent requests to servers, and servers responded with data. However, implementing real-time features like live chat, notifications, collaborative tools, etc, was challenging. Developers had to resort to workarounds like long polling (repeatedly sending requests) or plugins such as Flash, to achieve real-time communication. WebSockets changed the game by enabling constant, low-delay communication between clients and servers, breaking away from the old request-response model. Socket.IO was introduced with the aim of simplifying real-time communication between servers and clients on the web. Socket.IO is built on top of WebSockets and allows developers to create real-time applications without worrying about low-level networking details. In this article, we’ll explore the concept of using Socket.IO while creating a real-time chat application using Node.js + Socket.IO, that can be connected to any client-side application of our choice.

otherMay 18, 2026
socketweb socketnodejs

How to Implement API Rate Limiting in a Node.js Express Application

Have you ever wondered how public API platforms, payment services, or popular websites such as Medium, Twitter, and others manage that their APIs are not overloaded? It’s all thanks to a concept known as rate limiting.

otherMay 18, 2026
nodejsrate limiting

NodeJs Server Side Pagination Using Sequelize ORM

Imagine you stumble upon a tutorial blog with dozens of pages of content. You start scrolling through but quickly lose track of where you left off, and what you were looking for. Frustrated, you begin to wonder if there's a better way to navigate through this sea of information. This is where pagination comes in. Pagination is the practice of dividing content into separate pages, allowing users to navigate through large amounts of information with ease. Read on to learn how to implement pagination in NodeJs Server side using the Sequelize ORM.

mediumMay 18, 2026
nodejssequelizeORM