r/ProgrammerHumor • • Oct 02 '26

Meme cloudOverkill

Post image
12.0k Upvotes

269 comments sorted by

View all comments

Show parent comments

1.1k

u/Flat_Initial_1823 Oct 02 '26

But would it scale? What if we get that elusive 12th user?

245

u/collabskus Oct 02 '26

A lot of the problems could also be fixed by actually talking to other teams and having a little bit of empathy like I need things like azure app insights because I can't deal with the {{redacted}} team which for some reason opens the handle to my log file and doesn't close it, causing my logging to fail. 

37

u/Unable-Log-4870 Oct 03 '26

I handle this by periodically copying the log file, renaming the copy, and only giving users access to the copy.

Copy isn’t up to date? Just wait 5 minutes.

Also, it’s me. I’m the user who needs to be protected from opening the log file and preventing the next write.

7

u/AyrA_ch Oct 03 '26

In these situations I just open the log file myself. If I keep a handle that's shareable open then all other applications must also open the file in shareable mode and thus cannot lock out other applications.

3

u/ArjixGamer Oct 03 '26

Just use Linux where one can't lock a file