How do I implement Heroku background processes?

This page summarizes the projects mentioned and recommended in the original post on /r/node

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

    Premium Queue package for handling distributed jobs and messages in NodeJS.

  • This is a memory intensive process though and Heroku is OOM'ing with R14 errors. For this they recommend migrating intensive work like this to a Background Job via Redis, implemented in Bull and Throng

  • Playwright

    Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

  • As the URL can be anything, I'm trying to use a headless browser via Playwright in order to get images

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

    A simple worker-manager for clustered Node.js apps

  • This is a memory intensive process though and Heroku is OOM'ing with R14 errors. For this they recommend migrating intensive work like this to a Background Job via Redis, implemented in Bull and Throng

  • node-workers-example

    A simple example of using Redis to coordinate a worker process

  • I've never used redis before nor these other libraries so I'm out of my element. The Heroku implementation examples ["server"] and ["worker"] are too much for me to understand. I'm wondering if someone has experience / other examples?

  • KeystoneJS

    The most powerful headless CMS for Node.js — built with GraphQL and React

  • I have a working graphql server written in Keystone CMS and hosted on Heroku.

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

    WorkOS logo
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