542 karma · joined November 16, 2016
Also, it's in the interest of the online fitness community to make their advice as complex and complicated as possible as is re-entrenches their "expert" position while the truth tends to be much simpler, as your parent comment alluded to
There's nothing you can do with OOO that you can't without it, and vice-versa. At the end of the day all we have are instructions and data.
limits cause CPU throttling, which is like running your process in a strobe light. If your quota period is 100ms, you might only be able to make progress for 10ms out of every 100ms period, regardless of whether or not there is CPU contention, just because you've exceeded your limit.
requests -> CFS time sharing. This ensures that out of a given period of time, CPU time is scheduled fairly and according to the request as a proportion of total request (it just so happens that the Kube scheduler won't schedule such that sum[requests] > capacity, but theoretically it could because requests are truly relative when it comes to how they are represented in cgroups)
Here is the fundamental assertion: requests ensure fair CPU scheduling in the event of CPU contention (more processes want CPU than can be scheduled). Given that you are using requests, why would you want limits? You might think "limits prevent a process from taking too much CPU" but that's just not true. If that processes DID try to use up too much CPU, CFS would ensure it does not via fair time sharing. If no other running processes needed the CPU, why enforce CPU throttling which has very bad effects on tail latency?
When I took an Uber at the Medellin airport, a guy saw me waiting at the curb and called my name, explaining that he would drive me to my actual Uber. I hopped in, and he drove me a mile or two outside the airport to a lot where all the real Ubers were waiting. We switched cars, and presumably he got some small kickback, then returned to the airport to smuggle people to their Uber. It was a pretty interesting experience; the police at the airport readily fine Ubers that pick up passengers and know the cars by license plate.
*for Googlers, you can find this at go/salarycomp or something like that, I can't remember
>To evidence their commitment to charitable causes and to ensure this commitment is meaningful, if Adam and Rebekah have not contributed at least $1 billion to charitable causes as of the ten-year anniversary of the closing date of this offering, holders of all of the Company's high-vote stock will only be entitled to ten votes per share instead of twenty votes per share.```