javascript - Nodejs app stuck -


i have application must load lot of data database.

a lot of objects in database has child objects. , works lot of async loops.

async.eachseries(....., function (item, cb) {      .... }); 

it's works fine, have around 1000 objects in processing each second.

this functional works in background. app stuck , http server not response.

i think maybe need add delay background data processing fix it?

i think problem caused doing jobs in series , when job1 not done, job2 won't start , app stuck here. try doing time consuming jobs in parallel way instead.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -