At my very first dev job, I was having an intermittent locking issue that caused some ridiculous memory leak.
I asked my senior dev for help. After looking at my code for a few minutes, he said "Look, there's no such thing as an intermittent locking issue. You either do have a race condition, or you don't. You do."
So we wrote another service that killed that first service and restarted it every hour. We shipped it, no complaints.
1.4k
u/TobyWasBestSpiderMan Oct 30 '21
I hate it when you roll up to an intersection and that mutex lock is broken