title: GAE: What's the difference between <min-pending-latency> and <max-pending-latency>?
body: <p>As far as I can read the docs, both settings do the same thing: start a new instance when a request has spent in pending queue longer than that setting says.</p>
  <blockquote>
  <p><code>&lt;max-pending-latency&gt;</code> The maximum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it. Default: &quot;30ms&quot;.</p>
  <ul>
  <li>A low maximum means App Engine will start new instances sooner for pending requests, improving performance but raising running costs.</li>
  <li>A high maximum means users might wait longer for their requests to be served, if there are pending requests and no idle instances to serve them, but your application will cost less to run.</li>
  </ul>
  <p><code>&lt;min-pending-latency&gt;</code>
  The minimum amount of time that App Engine should allow a request to wait in the pending queue before starting a new instance to handle it.</p>
  <ul>
  <li>A low minimum means requests must spend less time in the pending queue when all existing instances are active. This improves performance but increases the cost of running your application.</li>
  <li>A high minimum means requests will remain pending longer if all existing instances are active. This lowers running costs but increases the time users must wait for their requests to be served.</li>
  </ul>
  </blockquote>
  <p>Source: <a href="https://cloud.google.com/appengine/docs/java/config/appref" rel="noreferrer">https://cloud.google.com/appengine/docs/java/config/appref</a></p>
  <p>What's the difference between min and max then?</p>