Gatling API Load Test With JavaScript

Gatling API Load Test With JavaScript

Ensuring an application runs smoothly in production is crucial. This post guides you to write and execute a simple Gatling API load test using JavaScript to ensure the stability, speed, scalability, and responsiveness of your application under a given workload. You may have written unit tests and functional tests, and the application looked good, so you shipped it to production. However, it suddenly crashes, experiences performance issues, or encounters API request timeout errors....

June 14, 2024 · 11 min · 2296 words · Prakash Bhandari
Implementing Logging Using Node.Js, Elasticsearch, Kibana and Docker

Implementing Logging Using Node.Js, Elasticsearch, Kibana and Docker

Logging play a very important role in software development. It helps monitoring, troubleshooting, debugging, event tracing, request tracing, security, and also can be used by Business Intelligence(BI) for reporting purpose. Logging has numerous benefits. But in this blog post, we will focus on building a real-world example to store application logs in Elasticsearch via a Node.js app by using the Winston NPM package and visualize them using Kibana. Additionally, we will dockerize the entire application....

June 10, 2024 · 9 min · 1755 words · Prakash Bhandari
Polling vs Webhooks

Polling vs Webhooks

Sometimes, we need to notify or update another system after a certain interval or upon completing background processing jobs. In such situations, we either use webhooks or polling. Each method has its own use cases, advantages, and disadvantages. This blog post will explain the differences between polling and webhooks, along with their respective use cases, pros, and cons. What is Polling? Polling, also known as API polling, is a mechanism where the client repeatedly calls the server to check for updates or changes until it receives a response from the server....

March 13, 2024 · 4 min · 653 words · Prakash Bhandari
How to Embed a Json File in a .Net Assembly

How to Embed a Json File in a .Net Assembly?

Before directly jump into the implementation. It is better to understand what is assembly and why sometimes we need to embed files like text, json etc. in the assembly. What is an assembly within the .NET framework? As a new .NET programmer, understanding assembly can be very difficult. If you go to Microsoft documentation, you will find the following definition of a web assembly: An assembly is a collection of types and resources that are built to work together and form a logical unit of functionality....

August 20, 2023 · 4 min · 647 words · Prakash Bhandari
Parameters vs arguments

Parameter vs Argument

Parameter vs. argument As a beginner, two terms that often cause confusion to the developers are “parameters” and “arguments”. As a Junior Engineer I was interchangeably using the terms parameter and argument. It took me a while to understand. Many of you also using these two term interchangeably. In this article, I will try to explain the basic difference between parameter and arguments used in the function. Parameters In programming, a parameter is a variable or a placeholder used in a function definition....

August 2, 2023 · 2 min · 378 words · Prakash Bhandari