title: Using Laravel Horizon to orchestrate queue in multiple servers
body: <p>I have a Laravel app that does video processing. I am currently doing the encoding in the same server. Now, I want to create 3 more servers to do the &quot;encoding&quot; in parallel in multiple servers.</p>
  <p>Is this possible multiple servers doing the same queue?</p>
  <pre><code>          --- Server 1 
  
  My App -- --- Server 2
  
            --- Server 3
  </code></pre>
  <p>These Server 1, 2, 3 only run &quot;encoding&quot; task.</p>
  <p>The job class would look something like:</p>
  <pre><code>class MyJob implements ShouldQueue {
  
     // use traits
    
     private $video;
  
     public function __construct($video) {
        $this-&gt;video = $video;
     }
  
     public function handle() {
         // Encode Video and save
  
         $this-&gt;video-&gt;update([
            'processed_at' =&gt; now()
         ]);
     }
  }
  
  </code></pre>
  <p>I'd appreciate any answer or if there are any resources on this topic.</p>
  <p>For this do I need a separate database server and cache server?</p>