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
..
2021-03-30 12:56:20 -07:00
2020-11-11 09:59:12 -08:00
2020-12-16 09:16:55 -08:00
2020-11-04 20:45:16 -08:00
2020-03-29 19:22:04 -07:00
2018-05-08 18:10:01 -06:00
2020-07-21 14:05:46 -07:00
2021-04-12 16:22:22 -07:00
2017-04-23 19:41:27 -05:00
2017-12-21 18:37:32 -08:00
2017-12-21 18:37:32 -08:00
2020-10-22 10:51:26 -07:00
2021-02-18 12:52:43 -08:00
2020-07-21 14:05:46 -07:00
2019-07-16 15:41:50 -07:00
2018-01-02 16:22:45 -08:00
2017-02-24 14:37:47 -08:00
2018-01-02 16:22:45 -08:00
2020-10-08 10:16:07 -07:00
2021-02-21 09:58:36 -08:00
2021-01-25 16:26:14 -08:00
2020-12-14 18:13:34 -08:00
2020-12-14 18:13:34 -08:00
2019-08-13 09:42:58 -07:00
2021-01-25 16:26:14 -08:00
2020-11-04 20:45:16 -08:00
2017-05-17 10:58:40 -05:00
2020-01-13 16:53:04 -08:00
2020-07-21 14:05:46 -07:00
2020-10-22 10:51:26 -07:00
2017-05-30 14:42:00 -05:00
2021-03-15 17:08:25 -07:00
2020-11-04 17:06:55 -08:00