A few notes on my CUSEC talk
I gave a talk today! If you came, thanks for coming! Here are some notes and links if you’d like to learn more!
on debugging
- on Linux, learn strace. It’s the best. I wrote a zine about it that you can download and print. I also wrote a a million blog posts about it.
- on OS X, learn dtrace. It’s even better than strace. This post has a great introduction
- the 40ms networking bug I talked about fixing
- ngrep is a fun tool for network analysis
- If you need to analyze encrypted traffic, use mitmproxy
- wireshark gives you a really nice graphical interface for network spying. It’s fun.
- How I got better at debugging
- for more tools: a few spy tools for your operating system (other than strace)
on computers being fast
- play the game: computers-are-fast.github.io
- visualvm comes with Java, and it’s a good first step (a screenshot of it)
- A millisecond isn’t fast
- YourKit is a great profiler for Java, but not free
- for stories of performance debugging, see Nancy Drew and the case of the Slow Program
- perf is cool for C++, and I wrote a blog post about it
- the video of Brendan Gregg yelling at a hard drive. his website is also fantastic: brendangregg.com/