Rate Limiting and Throttling in Node.js
When building web applications or APIs, sometimes too many requests from a single user or client can overload your server. To prevent this, we use Rate Limiting and Throttling. In this blog, we will explain what they are and how
How to Set Up Daily Refresh for Power BI Reports and Configure a Gateway for Server Use
Power BI, a powerful business analytics tool from Microsoft, enables users to create interactive reports and dashboards. To keep your reports up-to-date, it’s essential to set up a daily refresh. For those using on-premises data sources, configuring a gateway is
Salesforce: Dynamic Related List and their associated filters
Dynamic Related List Dynamic Related Lists in Salesforce offer a flexible way to display related records on a record detail page based on specific criteria. Unlike traditional related lists that show all related records by default, dynamic related lists dynamically
Applying Page-Level Security in Power BI
Power BI provides built-in Row Level Security (RLS) to control data access, but it doesn’t have a direct way to show or hide pages for different users. However, we can create a workaround using user roles to limit access to
Building real-time chat app using WebSockets with AWS API Gateway and Lambda
We can build many real-time applications such as chat applications, multiplayer games, financial trading platforms, and collaboration platforms using WebSockets with AWS API Gateway, Lambda, and dynamoDB. In this blog we will learn how to build real-time applications using WebSockets
Advanced Git Commands: Bisect, Patch, Rebase, and Cherry-Pick
When working with Git in large, collaborative projects, mastering advanced commands becomes essential for maintaining clean commit histories, isolating bugs efficiently, and managing code across multiple branches. While basic commands like commit, merge, and pull are sufficient for day-to-day work,
Caching in Node.js with Redis: A Beginner’s Guide
Caching is a technique to store frequently used data in a temporary storage so that future requests for that data are faster. In Node.js applications, caching can help improve performance and reduce the load on your database. One popular tool
Optimizing Amazon GuardDuty Agent CPU Usage with Worker Threads and Systemd Limits
Option 1: Reduce Worker Threads You can lower the number of worker threads to reduce CPU load. For example, change to –worker-threads 4 or even 2. Steps.1 Edit the systemd service file (if used): sudo systemctl edit amazon-guardduty-agent.service Step.2 Add
Using Worker Threads in Node.js
Node.js is single-threaded by default, which means it can handle only one task at a time in the main thread. While this works well for many applications, it can cause problems when dealing with heavy CPU-intensive tasks, like image processing,
Fixing Common Docker Errors
1. Docker Daemon Is Not Running Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock Simple fixes: sudo systemctl start docker sudo systemctl enable docker sudo systemctl status docker 2. Container Exited Immediately The container’s main process stopped, for example,
