maintenance daemon
Knot Resolver has bunch of tasks which need to be done only once, so it does not make much sense to do them from all workers independently.
Examples:
- cache cleanup - #257 (closed)
-
cache import -
zimport
into cache - TLS certificate maintenance (DNS-over-TLS, HTTP module) #598
- TLS ticket sync: !1567 (merged)
- RFC 5011 - we'd better avoid this one anyway
- TA bootstrap - we'd better avoid this one anyway
... and possibly others.
We have the Manager in >= 6.x to perform or coordinate such stuff. In long term we might create a "maintenance" daemon which could take care of these tasks so they would not block worker threads (it would also avoid duplication of tasks).
This would require means to communicate between maintenance daemon and workers.