open-nomad/client/allocrunner
Danielle Tomlinson 986fde0f5a allocrunner: Handle updates asynchronously
This creates a new buffered channel and goroutine on the allocrunner for
serializing updates to allocations. This allows us to take updates off
the routine that is used from processing updates from the server,
without having complicated machinery for tracking update lifetimes, or
other external synchronization.

This results in a nice performance improvement and signficantly better
throughput on batch changes such as preempting a large number of jobs
for a larger placement.
2018-12-18 23:38:33 +01:00
..
interfaces client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
state allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
taskrunner taskrunner: Use hook errors for artifacts 2018-12-17 10:39:38 +01:00
alloc_runner.go allocrunner: Handle updates asynchronously 2018-12-18 23:38:33 +01:00
alloc_runner_hooks.go client: Unify handling of previous and preempted allocs 2018-12-11 13:12:35 +01:00
alloc_runner_test.go allocrunner: Handle updates asynchronously 2018-12-18 23:38:33 +01:00
allocdir_hook.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
config.go client: Unify handling of previous and preempted allocs 2018-12-11 13:12:35 +01:00
health_hook.go Make alloc health watcher a postrun hook rather than shutdown hook 2018-12-06 12:30:31 -08:00
health_hook_test.go Make alloc health watcher a postrun hook rather than shutdown hook 2018-12-06 12:30:31 -08:00
migrate_hook.go client: Unify handling of previous and preempted allocs 2018-12-11 13:12:35 +01:00
testing.go allocrunner: Test alloc runners should include a noop migrator 2018-12-11 13:12:35 +01:00
upstream_allocs_hook.go client: Unify handling of previous and preempted allocs 2018-12-11 13:12:35 +01:00
util.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00