3 ms·
What's more likely? An intermittent network issue, the logging service being momentarily down, or a local crash that only affects your buffering queue? If an
by tux1968 3y ago
What's more likely? An intermittent network issue, the logging service being momentarily down, or a local crash that only affects your buffering queue?
If an OOM happens, all bets are off anyway, since it has as much likelihood of taking out your application as it does your buffering code. The local buffering code might very well be part of the application in the first place, so the fate of the buffering code is the same as the application anyway.
It seems you're trying very hard to contrive a situation where doing nothing is better than taking reasonable steps to counter occasional network hiccups.
- insanitybit 3y ago> It seems you're trying very hard to contrive a situation where doing nothing is better than taking reasonable steps to counter occasional network hiccups. I think you've completely misunderstood me then. I haven't taken a stance at all on what should be done. I'm only trying to agree with the grandparent poster about logging ultimately reflecting CAP Theorem.