Hi, zmq is new to me, just try npm install zmq and got:
Checking for libzmq >= 2.1.0 : Package libzmq was not found ? On Feb 4, 1:07 pm, tjholowaychuk <tjholoway...@gmail.com> wrote: > you could use zmq (or similar), use PUSH/PULL sockets to distribute > the work among some works within the machine or network. Lots of > options depending on how you want to tackle things, if time is not a > huge issue you could just use a job queue and control concurrency > > On Feb 3, 8:57 pm, Angelo Chen <angelochen...@gmail.com> wrote: > > > > > > > > > Hi, > > > I use ExpressJS for file uploading, after that, pass the files to node- > > imagemagick to resize, if we got 100 files uploaded, the entire cpu > > will be committed to various convert child processes, and entire site > > become unresponsive during this process, the server is a I5 processor > > with 8G memory running 64 bit Centos. > > > what is the good practice for this? can we use one core of the CPU to > > do conversion so site can still be responsive? or we can serialize the > > conversion to limit to 2 or 3 at one time? any suggestion will be > > appreciated. Thanks, > > > Angelo -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to nodejs@googlegroups.com To unsubscribe from this group, send email to nodejs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en