3 ms·
This post is rather cryptic but I assume Rachel is talking about the recent Cloudflare post that describes an outage caused by a falling shell pipeline: https:
by throwaway928473 5y ago
This post is rather cryptic but I assume Rachel is talking about the recent Cloudflare post that describes an outage caused by a falling shell pipeline:
https://blog.cloudflare.com/pipefail-how-a-missing-shell-option-slowed-cloudflare-down/ https://blog.cloudflare.com/pipefail-how-a-missing-shell-opt...
“The fact we're talking about shell scripts for something critical means that the battle for reliability was lost a long time ago.”
This is a stretch. While I’ll quickly advocate for writing anything more than the most trivial script in something better than shell it doesn’t follow that using shell at all means reliability is not a concern. One could easily forget to check the exit code of the first program if the shell script was rewritten in C++, for instance. People are always going to make mistakes and saying “never use shell”, especially for a basic two-command pipeline, isn’t going to move the needle on reliability anywhere.