aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Erb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AURORA-1275) Don't delay kill sequence when HTTP teardown signal could not be dispatched
Date Sat, 11 Apr 2015 21:07:12 GMT
Stephan Erb created AURORA-1275:
-----------------------------------

             Summary: Don't delay kill sequence when HTTP teardown signal could not be dispatched
                 Key: AURORA-1275
                 URL: https://issues.apache.org/jira/browse/AURORA-1275
             Project: Aurora
          Issue Type: Story
          Components: Executor, Thermos
            Reporter: Stephan Erb
            Assignee: Stephan Erb


The Thermos task runner performs a kill escalation sequence by dispatching calls to the HTTP
endpoints /quitquitquit and /abortabortabort before stopping a task for good. After each of
these calls it waits for 5 seconds.

The runner should not perform the waiting when the corresponding shutdown request could not
be dispatched. 

Advantages:

* Services which use a health port but don't implement /qqq and /aaa are not taxed by a total
of 10 seconds waiting time for each kill operation
* The whole system is faster to react when services are meant to be restarted due to failing
health checks. Failing health checks often imply an application is not responding at all,
including the endpoints /qqq and /aaa





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message