mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 00:49:03 +00:00
9 lines
499 B
Go
9 lines
499 B
Go
|
|
// Package async implements service tasks that are to be processed
|
||
|
|
// asynchronously by storing the data temporarily in Redis on the hot path and
|
||
|
|
// at regular intervals, efficiently moving that data to the persistent mysql
|
||
|
|
// database. This pattern allows to avoid the thundering herd problem in
|
||
|
|
// setups with lots of hosts, by collecting the data in fast storage (Redis)
|
||
|
|
// and then using a background task to store it down to persistent storage
|
||
|
|
// (mysql) in a controlled manner.
|
||
|
|
package async
|