Jerome Blanchard created UNOMI-924:
--------------------------------------

             Summary: Impossible to call healthcheck concurrently
                 Key: UNOMI-924
                 URL: https://issues.apache.org/jira/browse/UNOMI-924
             Project: Apache Unomi
          Issue Type: Bug
            Reporter: Jerome Blanchard


To avoid heavy load for healthcheck, a lock has been placed to raise an 
exception when a healthcheck is already running. 
This strategy seems good at the beginning but in production we are facing 
concurrent calls to healthcheck from multiple HA Proxy nodes. As the lock 
generated an HTTP error 500, HAProxy mark the unomi node as failing. 
The goal is to fix that behavior by allowing concurrent calls but having only 
one thread calculating healthcheck and a caching strategy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to