Re:Why Static Languages Suffer from Complexity (2022)
by throwawaymaths on Wednesday August 09, 2023 @06:57PM
(#37069504)
But do you really need "near c" performance for a container orchestrator? I would think your bottleneck will be talking to etcd
[ Parent
| on HN ]
Re:Why Static Languages Suffer from Complexity (2022)
by smarterclayton on Wednesday August 09, 2023 @09:04PM
(#37070526)
Our bottleneck was serialization of objects to bytes to send to etcd. Etcd cpu should be about 0.01-0.001 control plane CPU, and control plane apiserver CPU has been dominated by serialization since day 1 (except for brief periods around when we introduced inefficient custom resource code, because of the generic nature of that code).
Re:Why Static Languages Suffer from Complexity (2022)
by throwawaymaths on Thursday August 10, 2023 @01:30PM
(#37079069)
Huh, I'd have guessed that distributed synchronization of etcd (which goes over the network and has multiple events, and uses raft, which has unbounded worst case latency) would be the limiting step.