Node.js: Sending many AJAX requests to begin backend job queues -


preface: i'm trying prefetch content given set of urls asynchronously.

i'm needing send node.js app around 40-60 local ajax requests in order add jobs queue (node-chain-gang) client-side.

right now, have making requests @ once, , either node.js app can't handle or it's not possible many @ once, ends crashing or requests not make through in proper order. i've tried using settimeout in between each request no avail (in timely manner).

is there other way of queueing these requests/connections asynchronously client-side? or there more efficient way this?

just queuing such small number of requests should not problem node.js. either have come across bug in node-chain-gang or have bug in code. if can narrow down code simpler version same behavior , post here.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -