Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3278

Provide a HealthCheckExecutor service

    XMLWordPrintableJSON

Details

    Description

      Goals:

      • Be able to get an overall (aggregated) result as quickly as possible (ideally <2sec)
      • Whenever possible, return most current results (e.g. for a memory check)
      • Provide a declarative way for async checks (async checks should be the exception though)

      Approach

      • Run checks in parallel
      • Make sure long running (or even stuck) checks are timed out
      • If a health check must run asynchronously (because its execution time cannot be optimized), it should be enough to just specify a service property (e.g. "hc.async").

      See also
      http://apache-sling.73963.n3.nabble.com/Health-Check-Improvements-td4029330.html#a4029402
      http://apache-sling.73963.n3.nabble.com/Health-checks-execution-service-td4028477.html

      Attachments

        1. SLING-3278-more-explicit-use-of-constructor.patch
          3 kB
          Georg Henzler
        2. SLING-3278-hc.webconsole-2013-12-21.patch
          6 kB
          Georg Henzler
        3. SLING-3278-hc.core-HealthCheckExecutorService-2013-12-21-withExecutorResult.patch
          56 kB
          Georg Henzler
        4. SLING-3278-hc.webconsole-2013-12-19.patch
          6 kB
          Georg Henzler
        5. SLING-3278-hc.core-HealthCheckExecutorService-2013-12-19.patch
          50 kB
          Georg Henzler
        6. hc-it.patch
          1 kB
          Bertrand Delacretaz
        7. SLING-3278-bertrand.patch
          26 kB
          Bertrand Delacretaz

        Activity

          People

            cziegeler Carsten Ziegeler
            henzlerg Georg Henzler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: