ouvtam created JAMES-3849:
-----------------------------

             Summary: WebAdmin: Cache health checks
                 Key: JAMES-3849
                 URL: https://issues.apache.org/jira/browse/JAMES-3849
             Project: James Server
          Issue Type: Improvement
          Components: webadmin
            Reporter: ouvtam


While working on JAMES-3841 I noticed that a health check (e.g. ActiveMQ) is 
called periodically and for each WebAdmin request (i.e. 
[http://localhost/healthcheck).] This assumes that a health check call should 
be cheap, but might not be.

So calling /healthcheck too regularly can produce pressure for the underlying 
service (e.g. ActiveMQ) that could lead to resource waste or loss of 
reliability.

I propose to cache the healthcheck results for WebAdmin (e.g. 5 seconds). What 
do you think?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to