fleet/cmd
Tomas Touceda 7db6de7278
Serialize hosts writes per instance (#2753)
* Serialize hosts writes per instance

* Write hosts asynchronously

* Dont make the save in a goroutine

* Revert "Dont make the save in a goroutine"

This reverts commit 4a890c5271142755dec69a741582e7eca5c4c62c.

* Make all savehosts async

* Address review comments and make this approach configurable

* Address review comments

* Disable bulk seen time marking for a test

* Move host seen times to a new table

* Remove unused

* Add seen_time to list hosts

* Add some jitter to seen time flushing

* Remove unused

* Add timeout to deferred save host

* Add tests for serialSaveHost

* Update hosts in labels and policy executions in a serial way

* Address review comments and remove fk constraints in host software

* Make errCh buffered

* Add changes file

* Readd key
2021-11-08 11:42:37 -03:00
..
cpe cmd/cpe: fix dropped error (#1563) 2021-08-06 12:51:30 -03:00
fleet Serialize hosts writes per instance (#2753) 2021-11-08 11:42:37 -03:00
fleetctl Serialize hosts writes per instance (#2753) 2021-11-08 11:42:37 -03:00
osquery-perf Add MVP support for software inventory to osquery-perf for load testing (#2751) 2021-11-01 15:23:31 -03:00