Would docker be faster if it were written in rust?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • youki

    A container runtime written in Rust

    Yes, and it has. At least the runc equivalent part of it (which is the part that runs the containers). But the performance difference does not really matter that much - it is mostly start up time which is not normally a big overhead of the application. At least for long running services.

  • krustlet

    Kubernetes Rust Kubelet

    The kubernetes developers have already written things in rust, like krustlet - a alternative for kubelet that runs wasm images rather than containers. And the devs for it have said a lot of good things about rust vs go for large projects like kube.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • ffi-overhead

    comparing the c ffi (foreign function interface) overhead on various programming languages

    In that case, the libcontainer library would be faster if written in most other languages seeing as Go has unfortunate C-calling performance. In this FFI benchmark Rust is on par with C with 1193ms (total benchmarking time), while Go took 37975ms doing the same.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts