Tech
Your Laravel queue worker count is a guess. Here is the math that replaces it.
Every Laravel deployment I have seen has a line like this somewhere:
[program:queue-worker]
numprocs = 10
Why 10? Nobody knows. Someone picked it years ago and it stayed. Too low and
jobs wait minutes during a campaign blast. Too high and you burn RAM all night
for workers doing nothing. The number is wrong in both directions because load
changes and the config does not.
I spent this week testing an alternative on a demo app:
cboxdk/laravel-queue-autoscale
with ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to