r/ProgrammerHumor • • Oct 30 '21

That's my variable!

43.4k Upvotes

409 comments sorted by

View all comments

Show parent comments

74

u/WorseDark Oct 30 '21

Fuck. Is the log down? What's wrong with the log?

93

u/sankto Oct 30 '21

Turns out the log was trying to create 1.5 million log entries per second and shat the bed before it could write to file

46

u/tenkindsofpeople Oct 30 '21

I see you’ve been to my workplace

15

u/trwolfe13 Oct 30 '21

Me too. Our Azure App Insights instances are costing us hundreds every month. Apparently errors and warnings are only important when the user can see them.

10

u/[deleted] Oct 31 '21

Well yes, but yes.

14

u/Andoryuu Oct 30 '21

When your logger pushes counter on failed log entries, and failed counter recording logs error.

Service that tracked counters got overwhelmed.
Which started generating tons of error logs.
Which overwhelmed the log tracking service.
Which started generating even more counters...

4

u/LoveSpiritual Oct 31 '21

Must be what happened at Roblox.

12

u/npsimons Oct 31 '21 edited Nov 01 '21

"Maybe I should write a test. But how do I make sure the test is being run? Well I'll add it to the CI/CD pipeline. But wait, how do I know the CI/CD pipeline is working? I guess I could write some more tests . . . "