0:00 / 0:00
#node.js#loadtesting#childprocesses
Load Testing in Node.js
Tom Baranowicz
6.5K subscribers • 8 videos on Hallway
- Recommended by 1 person: 1 in engineering communities.
- Presented by Tom Baranowicz
- Linked in the descriptiontombaranowicz/LoadTestingUsingNodeJS
Intermediate. Assumes working knowledge.
17K views6 years ago1 recommendation
Systems programmingTools and practiceNode.js, Deno and BunPerformance and optimizationTesting
Tom Baranowicz demonstrates how to build a custom load testing tool in Node.js using child processes to measure response times.
Building a back-end application always brings the question about performance while handling multiple users accessing the app at the same time. This is why we have Load Testing. Load testing is the process of putting expected or unexpected demand on a system and measuring its response (Wikipedia). Today we are going to build a simple Node.js app that will be able to create multiple child processes and request defined URL at the same time. We will also measure response times and count average response time for the declared amount of simultaneous requests. Source Code: github.com/tombaranowicz/LoadTestingUsingNodeJS Follow me on: LinkedIn: linkedin.com/in/tombaranowicz/ Twitter: twitter.com/tombaranowicz Github: github.com/tombaranowicz Instagram: instagram.com/tombaranowicz/