NodeJS Performance i/o scaling

I/O Scaling Probelm I/O scaling problem refers to a situation where an application or system experiences performance degradation when dealing with a high volume of input/output operations (like reading from a disk or network), hindering its ability to scale effectively as the number of requests increases Traditional Web servers use Process Per Request You Got it by the name Each time client sends a request to server it starts a Process for each request As Advantages Simplicity - Its very Simple and straight make it easier to debug Isolation - Because each request starts Process therefore if some issue Occurs in one request don't affect others DisAdvantage High Overload - Spawning New process can takes lots of resources and time Concurrency Limits - Servers that uses process per request can only handle limited number of concurrent requests at once there fore it will cause scalability issues

Feb 28, 2025 - 14:51
 0
NodeJS Performance i/o scaling

I/O Scaling Probelm

I/O scaling problem refers to a situation where an application or system experiences performance degradation when dealing with a high volume of input/output operations (like reading from a disk or network), hindering its ability to scale effectively as the number of requests increases

Traditional Web servers use Process Per Request

You Got it by the name
Each time client sends a request to server it starts a Process for each request

As Advantages

  • Simplicity - Its very Simple and straight make it easier to debug
  • Isolation - Because each request starts Process therefore if some issue Occurs in one request don't affect others

DisAdvantage

  • High Overload - Spawning New process can takes lots of resources and time
  • Concurrency Limits - Servers that uses process per request can only handle limited number of concurrent requests at once there fore it will cause scalability issues