title: How rate limiting will work when same instance group is behind two different load balancers
body: <p>I was reading about rate limiting and auto-scaling in GCP and got stuck at this question:</p>
  
  <p>Scenario: </p>
  
  <ol>
  <li>I created a instance group <code>ig</code> with auto-scaling <code>OFF</code>.</li>
  <li>I created a load balancer <code>lb1</code>, details are:
  
  <ul>
  <li><code>lb1</code> contains a backend service <code>bs1</code> which points to instance group
  <code>ig</code> and Maximum RPS set to 1000 for <code>whole group</code>.</li>
  <li>frontend port :8080</li>
  <li>path rule : /alpha/*</li>
  <li><code>lb1</code> is an external load balancer</li>
  </ul></li>
  <li>I created one more load balancer <code>lb2</code>, details are:
  
  <ul>
  <li><code>lb2</code> contains a backend service <code>bs2</code> which points to instance group
  <code>ig</code> and Maximum RPS set to 2000 for <code>whole group</code>.  </li>
  <li>frontend port :9090</li>
  <li>path rule : /beta/*</li>
  <li><code>lb2</code> is an regional load balancer    </li>
  </ul></li>
  </ol>
  
  <p>Question that I have:</p>
  
  <ul>
  <li>Who will monitor the requests served by the both the load balancers?</li>
  <li>Which limit will be honoured 1000 or 2000?</li>
  <li>Will the overall requests (i.e via <code>lb1</code> and <code>lb2</code>) will be rate limited or individual limits will be applied for both the request flows?</li>
  </ul>