2 ms·
This is just dumb as nails. Now I can't login to the production server in order to strace the process to figure out why production is misbehaving. And don't s
by lamontcg 11y ago
This is just dumb as nails.
Now I can't login to the production server in order to strace the process to figure out why production is misbehaving.
And don't say you should always replicate the issue in preprod, sometimes you simply can't. Some issues only emerge at prod scale+load+latency that you don't have the financial resources or technical ability to be able to exactly replicate in a testbed.
You are drunk on too much koolaid, go home.
- juliangregorian 11y agoThat's great if strace et. al. can actually tell you why production is misbehaving. Of course, strace doesn't exist in vacuum, it changes the way your code executes. Everything is going to be slower, and race conditions and locks may not present themselves so readily. Then you also have the added stress of screwing around with a live server, what if you do something that messes it up worse? Sometimes it makes more sense just to kill that server and add a fresh one to the pool. Better yet if that process is automated. Good logging can actually be more valuable than mucking about in the live environment (or as I call it, panic mode).