DEV Community

isanka Maduwantha
isanka Maduwantha

Posted on

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

SurveyJS custom survey software

Build Your Own Forms without Manual Coding

SurveyJS UI libraries let you build a JSON-based form management system that integrates with any backend, giving you full control over your data with no user limits. Includes support for custom question types, skip logic, an integrated CSS editor, PDF export, real-time analytics, and more.

Learn more

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more