3 ms·
> 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 u
by codemac 7y ago
> 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.
- scarface74 7y agoHe 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.
- aflag 7y agoHe's actually working in the backend, not in the mobile app itself.
- madhadron 7y ago> 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.