back

by itvision·2d ago·view on hn ↗
Nice in theory in practice you always retain them locally as well, just in case the network connection goes down.

If network egress fails and logs are pushed in real time over a connection with no local backing, you face an ugly tradeoff: either drop log data silently (loss of visibility during the very network partition you need to debug) or apply backpressure to services (potentially hanging applications when logging buffers saturate).

1 comments
Agreed. That's what the log agent's disk buffer is for. That can still be used even if the journal itself is on volatile storage.