title: What's best practice for HA gearman job servers
body: <p>From gearman's main page, they mention running with multiple job servers so if a job server dies, the clients can pick up a new job server. Given the statement and diagram below, it seems that the job servers do not communicate with each other.</p>
  
  <p>Our question is what happens to those jobs that are queued in the job server that died?  What is the best practice to have high-availability for these servers to make sure jobs aren't interrupted in a failure?</p>
  
  <blockquote>
    <p>You are able to run multiple job servers and have the clients and workers connect to the first available job server they are configured with. <strong>This way if one job server dies, clients and workers automatically fail over to another job server.</strong> You probably don't want to run too many job servers, but having two or three is a good idea for redundancy.</p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/2Riwo.png" alt="enter image description here"></p>
  
  <p><a href="http://gearman.org/index.php#how_is_gearman_useful" rel="noreferrer">Source</a></p>