4 ms·
Console logging is the easiest but least effective method of debugging. Some people refuse to call it debugging because they believe a debugger or diagnostic to
by hinkley 8y ago
Console logging is the easiest but least effective method of debugging. Some people refuse to call it debugging because they believe a debugger or diagnostic tools are involved with the act of “debugging” (vs troubleshooting?)
Distributed systems mean you have to fall back to the most basic form of debugging.
You had better be getting something really good for that bargain. You’ve nearly permanently compromised your ability to reason about obscure bugs in the system in order to have it, so be sure it was worth it.
- daotoad 8y agoYou need to take that basic form of "debugging" and turn it into instrumentation. Collect structured data and build tools to process it. Once you have a nice collection of data you can build profilers and execution traces, things classical debugging tools provide. I've done it and the tools can work quite well. The same consistent instrumentation of your code also makes it easy to build really great dashboard monitoring. All this time building tools costs money and adds complexity to your stack, so, yes, distribution had better be worth it for your business needs before you take it on. Pretty much like any engineering trade-off.
- orweis 8y agoDo you mean something like this? (Rookout.com) https://youtu.be/bAxNWg6QYL8?t=62 https://youtu.be/bAxNWg6QYL8?t=62