title: HAProxy general purpose counters and stick tables
body: <p>I'm trying to use HAProxy for rate-limiting.
  I need to keep track of several endpoints and limit them individually.
  So far I was using general purpose counters. However, there is only 3 of them, sc0 to sc2.</p>
  
  <p>In the documentation, it mentions that all the operations on these counters take an optional table parameter, but it's not clear, then, if I can track different things on different tables, but using the same counters.</p>
  
  <p>In other words: is the limit of 3 general purpose counters global, or per sticky table?</p>
  
  <p>If, after proper table definition and track instructions, I do</p>
  
  <p><code>sc1_inc_gpc0(table1)</code></p>
  
  <p>(and, under different conditions)</p>
  
  <p><code>sc1_inc_gpc0(table2)</code></p>
  
  <p>And then have 2 acl rules like 
  <code>acl X sc1_get_gpc0(table1) gt 1</code>
  <code>acl Y sc1_get_gpc0(table2) gt 1</code></p>
  
  <p>Will the two <code>acl</code>s work indepentently, or they would to all effects track the same counter?</p>
  
  <p>Thanks for all help!
  (In case you are wondering: for a number of reasons, at the moment I could not use a different solution than HAProxy for rate-limiting)</p>