Eli Levine created PHOENIX-1091:
-----------------------------------

             Summary: Implement hard ceiling on per-query concurrency
                 Key: PHOENIX-1091
                 URL: https://issues.apache.org/jira/browse/PHOENIX-1091
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 3.0.0, 4.0.0
            Reporter: Eli Levine


Phoenix has targetConcurrency and maxConcurrency configuration settings. 
However, it seems that they only come into effect when they are higher than the 
number of regions. In clients operating over tables with a large number of 
regions this could result in the consumption of a large number of client-side 
threads per query, potentially leading to starvation of other queries in 
Phoenix clients that support concurrent queries (such as highly multi-tenant 
environments).

Implementation of a hard per-query concurrency limit is suggested to avoid 
potential starvation due to each query taking too many client threads.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to