open-nomad/client/allocrunner
Michael Schurter 820af27171 wrap boltdb in a write deduplicator
Saves a tiny bit of cpu and some IO. Sadly doesn't prevent all IO on
duplicate writes as the transactions are still created and committed.

$ go test -bench=. -benchmem
goos: linux
goarch: amd64
pkg: github.com/hashicorp/nomad/helper/boltdd
BenchmarkWriteDeduplication_On-4             500           4059591 ns/op           23736 B/op         56 allocs/op
BenchmarkWriteDeduplication_Off-4            300           4115319 ns/op           25942 B/op         55 allocs/op
2018-10-16 16:53:30 -07:00
..
getter Refactor - wip 2018-06-12 10:23:45 -07:00
taskrunner wrap boltdb in a write deduplicator 2018-10-16 16:53:30 -07:00
alloc_runner.go wrap boltdb in a write deduplicator 2018-10-16 16:53:30 -07:00
alloc_runner_health_watcher.go Refactor - wip 2018-06-12 10:23:45 -07:00
alloc_runner_test.go fixing tests 2018-10-04 14:26:19 -07:00
alloc_watcher.go client: set host name when migrating over tls 2018-09-05 17:24:17 -07:00
alloc_watcher_test.go Refactor - wip 2018-06-12 10:23:45 -07:00
testing.go agent + consul 2018-09-13 10:43:40 -07:00