fleet/server/service/async/doc.go

8 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