4 ms·
I've done this. I had to add sleep calls because the client had a simple resource consumption monitor that would complain if anything used more than 80% of the
by musingsole 5y ago
I've done this.
I had to add sleep calls because the client had a simple resource consumption monitor that would complain if anything used more than 80% of the machine's CPU. Arguably a stupid policy; arguably simple enough to work.
Some time later, the client wanted the script to finish faster...so the sleep calls were deleted, and they changed their resource monitor.
- Spivak 5y agoI mean as an infra person I can kinda agree with this. I wouldn’t put it on the app, and would have used cgroups but I don’t want to starve OS services for cycles.