TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Solutions to many, concurrent, scheduled background jobs in Node.js?

2 pointsby traviswingoalmost 8 years ago
I&#x27;m working on creating a sort of high frequency trading-type platform using NodeJS. In my implementation, I have many, many, background jobs that need to all run at the same time, on the millisecond.<p>My current implementation is in Kue using delayed jobs where the delay is set to the exact datetime that the job must run. Kue can, or so it seems, allow you to specify a concurrency setting where n jobs can run concurrently, starting at the same time.<p>My question is, what other, possibly better, ways are there to go about this? I feel like Kue isn&#x27;t as performant as I need, and was obviously not designed for this type of thing (it checks for delayed jobs once per 1000ms, which is too slow for me).

no comments

no comments