> > Do you think the following model would work? > > - have a limit for the number of workers: 100 > - one worker or zero per user (not visitor!) > - when a worker is needed but none is active for the polls/forms/... > creator, kill the one with the highest idle time and spin up a new one > (EXCEPTION: you'll have to temporarily go over the limit if all > processes are busy) > > So, when you get a huge wave of requests for a bunch of forms, the > sandbox processes for them are running all the time. Does that sound > like a good idea? >
That does sound about right, although I'm unsure about how to do that. -- 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