asynchronous shared cache support
I'm going to roughly do this:
- At the end of each request, gather records from
req.answ_selected
andreq.auth_selected
that have been written to cache - Put these records into a DNS message, set record CLASS to rank, and send to a multicast address
- Create a background worker in the module using
event.socket()
for non-blocking waits like thehttp
module - The worker would pick up the messages from the multicast address and call
kr_cache_insert
to update local caches