Beware of Promise.all

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • growthbook

    Open Source Feature Flagging and A/B Testing Platform

  • For example, in NodeJS you can spawn new shells to call out to other programs on the computer. I use this in my open source A/B testing platform GrowthBook to call a Python script. Something like this:

  • p-throttle

    Throttle promise-returning & async functions

  • For API calls where you want to limit the number of calls per second, you can use the simple p-throttle library:

  • 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.

    SurveyJS logo
  • p-limit

    Run multiple promise-returning & async functions with limited concurrency

  • For system calls where you want to limit the number of parallel executions, no matter how long they take, there is the simple p-limit library:

  • bree

    Bree is a Node.js and JavaScript job task scheduler with worker threads, cron, Date, and human syntax. Built for @ladjs, @forwardemail, @spamscanner, @cabinjs.

  • For more advanced use cases, you might want to look into using a full-featured job queue instead like bree, bull, or agenda.

  • The gist

    BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis

  • For more advanced use cases, you might want to look into using a full-featured job queue instead like bree, bull, or agenda.

  • agenda

    Lightweight job scheduling for Node.js

  • For more advanced use cases, you might want to look into using a full-featured job queue instead like bree, bull, or agenda.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts