News for hackers. Stuff that matters.
Re:Ask HN: How do you handle logging? by codemac on Wednesday August 28, 2019 @08:09PM (#20825406)
> it's more likely for your network to be down than for your disk to fail

For most people, the network being down means they can't reach the disk.

Buffering unsent logs via local disk or RAM is critical due to network flakiness for sure, but not logging over the network as well is a bad idea 100% of the time.

Re:Ask HN: How do you handle logging? by madhadron on Thursday August 29, 2019 @01:34AM (#20826925)
> For most people, the network being down means they can't reach the disk.

If you're talking about cloud solutions, that's what instance stores are for. Logging to local disk and then forwarding is still the best answer. And there's still a lot of world out there that's running on actual hardware.

Re:Ask HN: How do you handle logging? by scarface74 on Wednesday August 28, 2019 @09:50PM (#20825967)
He specifically mentioned mobile apps. When developing mobile apps, you almost always operate in a “semi connected” state where ideally you can function without network access and rely on syncing.
Re:Ask HN: How do you handle logging? by aflag on Thursday August 29, 2019 @07:34AM (#20828537)
He's actually working in the backend, not in the mobile app itself.