fleet/server/mock
Zach Wasserman e961cfe0c3
Batch updates to host seen time (#633)
Instead of synchronously updating the seen_time column for a host on an update, batch these updates to be written together every 1 second.

This results in a ~33% reduction in MySQL CPU usage in a local test with 4,000 simulated hosts and MySQL running in Docker.
2021-04-12 16:22:22 -07:00
..
datastore_appconfig_helpers.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_appconfig.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_campaigns.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_carves.go Add AWS S3 as file carving backend (#126) 2020-12-16 09:16:55 -08:00
datastore_hosts.go Batch updates to host seen time (#633) 2021-04-12 16:22:22 -07:00
datastore_invites_helpers.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_invites.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_labels.go Add support for filtering hosts in label (#335) 2021-02-18 12:52:43 -08:00
datastore_osquery_options.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_packs.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_queries.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_query_results.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_scheduled_queries.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_sessions.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_targets.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_users_helpers.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore_users.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
datastore.go Update the Go import paths to new repo name (#27) 2020-11-11 09:59:12 -08:00
errors.go add mock package and use in invite tests (#603) 2017-01-10 16:49:14 -05:00
service_osquery.go Expose live query error messages via API (#205) 2021-01-19 14:52:29 -08:00
service.go refactor gRPC endpoints with launcher packages in mind (#1582) 2017-10-24 19:55:32 -04:00