RomainLanz / adonis-bull-queue

Queue system based on BullMQ for AdonisJS
MIT License
147 stars 26 forks source link

How to deploy in production without impacting performance ? #5

Closed Glenn-o closed 2 years ago

Glenn-o commented 2 years ago

Hello,

I would like to add the package in production on Heroku, and I'm afraid that it will impact the performance of the application, what is the best way to run it in production without impacting the performance?

Thanks

brkn commented 2 years ago

It shouldn't necessarily impact the performance of your application. As long as you have enough memory in your dyno, your application performance should stay same.

Just add another line in your procfile like this

release: node build/ace migration:run --force
web: node build/server.js
+ worker: node build/ace queue:listen
RomainLanz commented 2 years ago

Hey @Glenn-o! 👋🏻

As @brkn said, there is nothing specific that should impact performance.

Did you have any issues?