Re:Erlang's not about lightweight processes and message passing
by evidencetamper on Saturday April 12, 2025 @11:11AM
(#43665068)
The adverse effect is higher latency, as the execution gets delayed due to throttling.
Parent probably didn't care about latency.
Re:Erlang's not about lightweight processes and message passing
by hosh on Monday April 14, 2025 @03:53AM
(#43679041)
It’s a data pipeline that polls periodically. Average latency matters a lot less than lower variance of latency.
Even when I distribute offsets on polling, I would get these seesaws where enough fights over resources.
Re:Erlang's not about lightweight processes and message passing
by marcosdumay on Saturday April 12, 2025 @04:06PM
(#43667544)
> The code used 10x less CPU with CPU limits, with no adverse effects?
The normal situation is that defective situations get a much large latency, while the correct requests run much faster.
It's a problem on the cases when the first set isn't actually defective. But it normally takes a reevaluation of the entire thing to solve those, and the non-limited situation isn't any good either.
As someone who has advocated against Kubernetes CPU limits everywhere I've worked, I'm really struggling to see how they helped you here. The code used 10x less CPU with CPU limits, with no adverse effects? What were all those CPU cycles going before?