Embedded engineer with 7 years of industry experience and a passion for developer tools. Worked at Pebble and Fitbit helping them ship and maintain millions of wearable devices running RTOS-level firmware. Now a co-founder at Memfault, which is building monitoring tools for the IoT space. You can find some of the articles I've written at: https://interrupt.memfault.com/blog/authors/tyler/.
The Best Defense is Offensive ProgrammingAvailable in 32 days, 3 hours and 3 minutes
Let's face it. The firmware we write has bugs, and we need to defend against and accept failures when our system experiences bugs. This is when we typically employ defensive programming practices, but if not used correctly, they may cause more problems than they solve.
There is an alternative and complimentary set of programming practices, often called "offensive programming", which takes defensive programming and flips it on its head. Instead of defending against errors in firmware, this technique will surface them immediately using liberal asserting and proper fault handling.
This talk will cover offensive programming techniques, prerequisites to implementing the suggestions in your firmware, and how you can use them to quickly and easily track down and root cause 1 in 1,000 hour bugs and keep your sanity at the same time.
Monitoring IoT Devices At Scale (2020)Status: Available Now
I'd like to talk about how companies should think about and build out their IoT monitoring solutions using metrics. The differences between logs, metrics, and traces have been talked about at length in the software engineering space, but not for firmware. Using metrics to monitor a fleet of devices allows for assessing the health of thousands to millions of devices, even across groups of devices or firmware versions, all while keeping complexity, bandwidth, and power consumption to a minimum.Takeaways:
- Know how to think about and build a metrics library for gathering compressed and aggregated metrics on devices
- Understand the differences between logs, metrics, and traces, and why using metrics is the best way to monitor fleets of devices post-deployment.
- Know the next steps on how to ingest the data in a server under their control to do monitoring analysis.
- Learn some formulas for calculating fleet health, such as expected battery life, crash free hours, and average connectivity per hour.
Live Q&A - Monitoring IoT Devices At Scale (2020)Status: Available Now
Live Q&A with Tyler Hoffman following his talk titled 'Monitoring IoT Devices At Scale'