The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 14 TypeScript Queue Projects
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
worker
High performance Node.js/PostgreSQL job queue (also suitable for getting jobs generated by PostgreSQL triggers/functions out into a different work queue)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
While many ways to write scalable Node.js applications exist, all narrow down to the underlying architecture. However, common hurdles in Node.js include serving static files, task scheduling, and utilizing available resources. To combat these, you can use a tactical approach. Because serving static assets with Node.js takes CPU time, a proxy content delivery network like CloudFront should help fix it. Recurring tasks need to fire events, which isn’t reliable with setTimeout or setInterval. As a solution, you can use a task scheduler framework like agenda.js. To handle resource utilization, you can use the cluster feature in Node.js, which listens to ports, accepts new connections, and distributes them across workers with built-in smarts to avoid overloading the process.
Graphile worker has been great for me because it's a library that works with Postgres that allows me to queue jobs and execute them on the server without adding too many additional layers of complexity for being able to accomplish async tasks. (I'm aware of how popular bull is, but I don't want to add another data-store only for async tasks)
Big fan of Graphile Worker to handle this job. https://github.com/graphile/worker
NestJS has a @nestjs/bullmq package Github link but the official documentation of NestJS does not have example of @nestjs/bullmq and bullmq.
Project mention: How do you handle queues in Node.js? Have you ever tried using pgboss? | /r/node | 2023-05-06Used pg-boss and I can recommend if you are queuing under 1-2 mil items and doesn't require sub ms latency. Additionally I wrote my own library similar to pg-boss: https://github.com/ilijaNL/pg-tbus
Project mention: Show HN: Hatchet – Open-source distributed task queue | news.ycombinator.com | 2024-03-08
TypeScript Queue related posts
- Object Narrowing in Typescript with Graphile Worker
- Deno Cron
- Job Schedulers for Node: Bull or Agenda?
- How do you handle queues in Node.js? Have you ever tried using pgboss?
- Next.js background jobs
- Conveyor MQ - A fast, robust and extensible distributed task/job queue for Node.js
- Conveyor MQ - A fast, robust and extensible distributed task/job queue for Node.js
-
A note from our sponsor - WorkOS
workos.com | 19 Apr 2024
Index
What are some of the best open-source Queue projects in TypeScript? This list will help you:
Project | Stars | |
---|---|---|
1 | agenda | 9,232 |
2 | The gist | 5,154 |
3 | p-queue | 3,215 |
4 | worker | 1,633 |
5 | node-resque | 1,331 |
6 | RedisSMQ | 569 |
7 | bull | 568 |
8 | bull_exporter | 259 |
9 | leek | 129 |
10 | Conveyor MQ | 50 |
11 | pg-tbus | 17 |
12 | wakaq-ts | 15 |
13 | felony | 10 |
14 | vellichor | 6 |