Commit

4e35d7b

My Horizon was eating 1.2 GB of RAM. Now it's ~280 MB. Same app, same jobs 🤯 I gave it the PHP-FPM trick: fork every worker from one template that owns a shared opcache. Now my workers share one compiled copy. 🔥 Individual worker: ~56 MB → ~7.4 MB 🔥 Laravel Cloud 2 GB box: 27…
GitHubGitHub - tevkert/queue-prefork: Cut the memory of Laravel queue workers by up to 80 %: queue:work and Horizon workers fork from one template that shares compiled code. Drop-in, no code changes.Cut the memory of Laravel queue workers by up to 80 %: queue:work and Horizon workers fork from one template that shares compiled code. Drop-in, no code changes. - tevkert/queue-prefork