by TomasEkeli · 4y ago · 0 comments
feels bad, but getting a 55 hour job down to 12 hours by removing logging was worth it.
yes, we log asynchronously and without blocking. but it is a constant tax on everything that happens and it adds up.
I've seen some time jumps with logging removal but I don't think I've ever seen anything exceed about 20% of execution time (at least on the scale you're talking about, there were some scripts I revised logging on that were constructing huge logging infrastructures for an otherwise sub-milisecond job) 40 hours is a lot of hours.
it was far, far worse than that.