Can NODE.JS Server Handle 1M Concurrent Requests? | Real-World App Benchmarking on Dedicated VPS
YouTube Viewers YouTube Viewers
101K subscribers
51,437 views
0

 Published On Jun 20, 2021

Ever wanted to push the limits of your Node.js Server and see what can really Node.js Handle? In this video we will push the limits of a Node.js/Express.js Server that is built with Login/Register and Authentication and some interesting calculation functions to see how can it operate when it comes to thousands of concurrent connections and millions of requests. We will stress test using 1K, 10K, and 1M concurrent connections connected to the server at the same time and sending requests to the server from a simple HTTP GET Homepage to random login/Register API stress test throughout the HTTP Protocol and see if really Node.js can handle 1M requests/s?



⭐ Timestamps ⭐
00:00 How we'll do Nodejs Benchmarking?
02:19 Briefly understanding how Node.js Event loop works
08:36 Getting Started with Benchmarking
12:37 Using autocannon for HTTP Server benchmarking
20:45 Can Node.js Actually handle 10K Requests on our local machine?
23:46 What about 1M concurrent requests?
25:39 Creating Custom Benchmarks scripts programmatically using autocannon
34:57 Benchmarking Register-Login API with custom script 10K User registration
46:24 Running Node.js Server Benchmarks on Dedicated VPS Server
49:22 Running basic GET homepage benchmark for 1k concurrency
50:59 Benchmarking 10K Users for 1000 Requests for user
53:20 Is 1M Concurrent requests possible on a 2-Core CPU and 2GB RAM Server?
54:26 Benchmarking Register-Login on the Dedicated VPS Server, is it possible for 1K?
58:41 Why Nodejs is bad for processor-heavy tasks?



⭐Grab the full source code of the App with Benchmarks on Github:
https://github.com/ipenywis/node-expr...


🧭 Watch Tutorial on Designing the website on Figma
   • I Design a onecolor Website in 1 hour...  

🧭 Watch Create a Modern React Login/Register Form with smooth Animations
   • Create a Modern React Login/Register ...  

🧭 Debug React Apps Like a Pro | Master Debugging from Zero to Hero with Chrome DevTools
   • Debug React Apps Like a Pro | Master ...  

🧭 Master React Like Pro w/ Redux, Typescript, and GraphQL | Beginner to Advanced in React
   • Master React Like Pro w/ Redux, Types...  

🧭 Learn Redux For Beginners | React Redux from Zero To Hero build a real-world app
   • Debug React Apps Like a Pro | Master ...  

🧭 Build Login/Register API Server w/ Authentication | JWT Express AUTH using Passport.JS and Sequelize
   • Build Login/Register API Server w/ Au...  

🧭 Introduction to GraphQL with Apollo and React
   • Introduction to GraphQL with Apollo a...  


🐦 Follow me on Twitter:   / ipenywis  
💻 Github Profile: https://github.com/ipenywis
💡 My Blog: http://ipenywis.com


Made with 💗 by Coderone

show more

Share/Embed