News for hackers. Stuff that matters.
Re:An Easy Way to Build Scalable Network Programs by mikeryan on Tuesday October 04, 2011 @08:11PM (#3073582)
Where is he suggesting forking on every request? My read sounds like he's suggeting the main process handles web requests and a single other process to handle encoding?

The suggested approach is to separate the I/O bound task of receiving uploads and serving downloads from the compute bound task of video encoding.

I'm assuming by using something like child_process.fork to create a video encode queue separate from the main event loop.

http://nodejs.org/docs/v0.5.4/api/child_processes.html#child...

There are no comments on this comment yet.