Infinite loop pattern to poll for a queue in a REST server app

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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • sqs-consumer

    Build Amazon Simple Queue Service (SQS) based applications without the boilerplate

  • For you queue consumer, specifically because you mentioned AWS SQS, I wouldstrongly recommend the following library: sqs-consumer

  • bull

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

  • I would use a job queuer like https://github.com/OptimalBits/bull

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

    A realtime distributed messaging platform

  • Queue consumers are interesting because there are many solutions for them, from using Redis and persisting the data in a data store - but for fast and scalable the approach I would take is something like SQS (as I advocate AWS even free tier) or NSQ for managing your own distributed producers and consumers.

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