6 ms·
Dtrace alone will turn you from a developer to a Developer + Systems admin + practical OS engineer, you will understand how your stack is performing within vari
by joshbaptiste 12y ago
Dtrace alone will turn you from a developer to a Developer + Systems admin + practical OS engineer, you will understand how your stack is performing within various lower levels of the operating system and be able to tune the hell out of your stack from bottom up.
- Thaxll 12y agoCome on, 0.1% of the people need Dtrace...
- 4ad 12y agoIf you do any kind of programming or system administration, you need DTrace (or some lame Linux equivalent). It really pains me to see that people reject it because it's "too advanced" for them, or such nonsense. Dynamic tracing is the one technique that will enrich your life as an IT professional more than absolutely anything else ever did. And DTrace in particular is really, really easy to use (the Linux alternatives, not so much).
- atmosx 12y agoYeah that said, Dtrace on FreeBSD sucks. The DSL is hard and many ready-to-run scripts don't run at all. Other than Dtrace... Tools like dtruss & co are not as clean as strace, that's the feeling I've got when I had to trace some calls.
- juliangoldsmith 12y agoBut that doesn't mean it's only useful to 0.1% of people.
- duggan 12y agoIf it's more widely available, more developers will reach for it. The more comfortable people are with tools like DTrace, the better they will be able to write and use software.
- sneak 12y agoEveryone needs to know all of the things. Just because it's a pain to get now doesn't mean people wouldn't use it if it were there. Remember when monitor mode meant patching drivers and running a weirdo kernel? It's like that.
- Thaxll 12y agoTwo things here: - If you use Dtrace to troubleshoot a problem it's way beyond your scope of knowledge as a web developer. Dtrace is too deep and very specific to certain problems that you will never see because your regular nginx + php works fine in all cases. - Not everyone wants and should be good at everything. Just be good at what your doing well, I'm not saying that one shouldn't be curious but Dtrace isn't "an excuse" to install *BSD as a web dev.
- 4ad 12y agoIf you don't use DTrace to debug php, you're missing a lot: http://php.net/manual/en/features.dtrace.dtrace.php http://php.net/manual/en/features.dtrace.dtrace.php. Same for python and ruby and node.js. All these have DTrace support. DTrace is not hard, it's essential; and it's significantly easier, than say, awk, which is another crucial tool.
- bitroliest 12y agoUnder OSX it seems that DTrace support is incomplete thanks to OSX' dtrace implementation [1]. [1] https://github.com/joyent/node/issues/3617 https://github.com/joyent/node/issues/3617 I think only Solaris has full support?
- bsg75 12y agoIts interesting to some of us: http://www.postgresql.org/docs/9.4/static/dynamic-trace.html http://www.postgresql.org/docs/9.4/static/dynamic-trace.html
- woodman 12y ago0.1% of people in the world? That seems a little high. 0.1% of people who describe themselves as *-dev? That seems really low. Also, how do you define "need"? Dtrace isn't just for tracing functions down to the kernel level, and I can imagine all sorts of things that a web dev would find useful in dtrace. Just google "ruby dtrace".