In Linkerd, the sidecar proxy is written in the Rust programming language, which was designed by Graydon Hoare from Mozilla Research. Rust is similar in syntax to C and C++, and it offers better performance and strong typing. There are no Garbage Collection (GC) related constraints, as Rust performs resource utilization in the constructor, and, when an object goes out of scope, the owned resources are freed.
The choice of Rust by Linkerd developers was to attain performance, reliability, and productivity (https://rust-lang.org). The Linkerd proxy is lightweight and efficient, since it has a small footprint.
Some of the features of the Linkerd proxy are as follows:
- Out of process architecture: The Linkerd proxy runs alongside the application and is language-agnostic.
- Rust: The Linkerd proxy is written in Rust for performance and to minimize latency.
- Protocol:...