Skip to content

hirefire/hirefire-resource-node

Repository files navigation

HireFire Integration Library for Node.js Applications

This library integrates Node.js applications with HireFire's Dyno Managers (Heroku Dyno Autoscalers). Instructions specific to supported web frameworks and worker libraries are provided during the setup process.

Supported web frameworks:

  • Express
  • Koa
  • Connect
  • Fastify
  • Sails
  • Nest

Supported worker libraries:

  • BullMQ

Since 2011, over 1,000 companies have trusted HireFire to autoscale more than 5,000 applications hosted on Heroku, managing over 10,000 web and worker dynos.

HireFire is distinguished by its support for both web and worker dynos, extending autoscaling capabilities to Standard-tier dynos. It provides fine-grained control over scaling behavior and improves scaling accuracy by monitoring more reliable metrics at the application level. These metrics include request queue time (web), job queue latency (worker), and job queue size (worker), which contribute to making more effective scaling decisions.

For more information, visit our home page.


Development

  • Run bin/setup to prepare the environment.
  • See npm run for common tasks.

Release

  1. Update the version in package.json using npm version <patch|minor|major> --no-git-tag-version.
  2. Ensure that CHANGELOG.md is up-to-date.
  3. Commit changes with git commit.
  4. Create a git tag matching the new version (e.g., v1.0.0).
  5. Push the new git tag. Continuous Integration will handle the distribution process.

License

This package is licensed under the terms of the MIT license.