gvisor VS envoy

Compare gvisor vs envoy and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
gvisor envoy
64 67
15,066 23,886
2.8% 1.5%
9.9 10.0
4 days ago 3 days ago
Go C++
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

gvisor

Posts with mentions or reviews of gvisor. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-03.
  • Maestro: A Linux-compatible kernel in Rust
    7 projects | news.ycombinator.com | 3 Jan 2024
    Isn't gVisor kind of this as well?

    "gVisor is an application kernel for containers. It limits the host kernel surface accessible to the application while still giving the application access to all the features it expects. Unlike most kernels, gVisor does not assume or require a fixed set of physical resources; instead, it leverages existing host kernel functionality and runs as a normal process. In other words, gVisor implements Linux by way of Linux."

    https://github.com/google/gvisor

  • Google/Gvisor: Application Kernel for Containers
    3 projects | news.ycombinator.com | 2 Jan 2024
  • GVisor: OCI Runtime with Application Kernel
    1 project | news.ycombinator.com | 2 Jan 2024
  • How to Escape a Container
    4 projects | news.ycombinator.com | 20 Dec 2023
  • Faster Filesystem Access with Directfs
    1 project | news.ycombinator.com | 28 Jul 2023
    This sort of feels like seeing someone riding a bike and saying: why don’t they just get a car? The simple fact is that containers and VMs are quite different. Whether something uses VMX and friends or not is also a red herring, as gVisor also “rolls it own VMM” [1].

    [1] https://github.com/google/gvisor/tree/master/pkg/sentry/plat...

  • OS in Go? Why Not
    2 projects | news.ycombinator.com | 21 May 2023
    There's two major production-ready Go-based operating system(-ish) projects:

    - Google's gVisor[1] (a re-implementation of a significant subset of the Linux syscall ABI for isolation, also mentioned in the article)

    - USBArmory's Tamago[2] (a single-threaded bare-metal Go runtime for SOCs)

    Both of these are security-focused with a clear trade off: sacrifice some performance for memory safe and excellent readability (and auditability). I feel like that's the sweet spot for low-level Go - projects that need memory safety but would rather trade some performance for simplicity.

    [1]: https://github.com/google/gvisor

    [2]: https://github.com/usbarmory/tamago

  • Tunwg: Expose your Go HTTP servers online with end to end TLS
    2 projects | /r/golang | 2 May 2023
    It uses gVisor to create a TCP/IP stack in userspace, and starts a wireguard interface on it, which the HTTP server from http.Serve listens on. The library will print a URL after startup, where you can access your server. You can create multiple listeners in one binary.
  • How does go playground work?
    3 projects | /r/golang | 30 Apr 2023
    The playground compiles the program with GOOS=linux, GOARCH=amd64 and runs the program with gVisor. Detailed documentation is available at the gVisor site.
  • Searchable Linux Syscall Table for x86 and x86_64
    7 projects | news.ycombinator.com | 14 Apr 2023
  • Multi-tenancy in Kubernetes
    13 projects | dev.to | 10 Apr 2023
    You could use a container sandbox like gVisor, light virtual machines as containers (Kata containers, firecracker + containerd) or full virtual machines (virtlet as a CRI).

envoy

Posts with mentions or reviews of envoy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-19.
  • Multipath TCP for Linux
    6 projects | news.ycombinator.com | 19 Apr 2024
    Apple also contributed[1] MPTCP support to Envoy Proxy.

    [1]https://github.com/envoyproxy/envoy/pull/18780

  • Google Chrome's new "IP Protection" will hide users' IP addresses
    2 projects | news.ycombinator.com | 23 Oct 2023
  • Running an Arweave Gateway on GitHub Codespaces
    1 project | dev.to | 23 Aug 2023
    After it finishes (it can take a few minutes), Docker-Compose automatically starts a cluster with two containers. One is an Envoy proxy (running on port 3000) that relays requests from outside the cluster to the other container (running on port 4000), which is our AR.IO gateway that will handle the requests.
  • Show HN: WebAssembly dev environment for Envoy Proxy
    4 projects | news.ycombinator.com | 3 Aug 2023
    Hi HN!

    For the past few weeks we've been working on Proximal - a workflow engine that lets you quickly iterate on WebAssembly extensions for Envoy Proxy[0] (or other proxies) right on your local machine: https://github.com/apoxy-dev/proximal

    This work is based on Proxy-WASM[1] extension ABI for Envoy (and other proxies like APISIX and Mosn[2]) which allows you to execute WebAssembly code on every API request a la Cloudflare Workers. As part of our wider effort at https://apoxy.dev to improve API glue code we built an experimentation / development platform and hope you will find it useful!

    On the technical side this project packs Envoy itself, Envoy controller, REST API (for controlling the controller =)), React SPA, and Temporal server/worker (for orchestration) - all baked into a single Go binary. You can find more on architecture and limitations in the repository README[4].

    This project is pretty early stage and we would appreciate community feedback!

    Previous HN discussions on this topic:

    * https://news.ycombinator.com/item?id=36113542

    * https://news.ycombinator.com/item?id=22582276

    ---

    [0] https://www.envoyproxy.io/

    [1] https://github.com/proxy-wasm/spec/blob/master/docs/WebAssem...

    [2] https://apisix.apache.org/ https://mosn.io/

    [3] https://github.com/apoxy-dev/proximal/blob/main/README.md#ar...

  • Show HN: Envoy Playground in the Browser
    2 projects | news.ycombinator.com | 27 Jul 2023
    Hey HN,

    We made an Envoy Proxy[0] playground so we could test out our Envoy configs directly in the browser. This is based on Julia's work with Nginx Playround[1] (we forked[2] that repo and added more Envoy to it). Check it out!

    [0] - Envoy is a popular programmable proxy similar to Nginx or HAProxy that is popular with cloud-native setups: https://www.envoyproxy.io

  • Istio moved to CNCF Graduation stage
    13 projects | news.ycombinator.com | 12 Jul 2023
    Envoy is the proxy that does the heavy lifting. Istio is just a glorified configuration system. Even if you choose to use Istio you're still using Envoy.

    You're spot-on about using iptables rules. There is an example here with a yaml configuration and some iptables commands: https://github.com/envoyproxy/envoy/blob/main/configs/origin...

    You might be able to re-use some of that. It should be pretty easy to get metrics for outbound/inbound http requests, but I don't remember the exact yaml incantation.

  • Need advice on K3s cluster setup
    2 projects | /r/kubernetes | 26 Jun 2023
    I'm using the default RaspiOS Lite 64bits and as highlighted in this issue, the RaspiOS kernel does not support CONFIG_ARM64_VA_BITS_48, which makes cilium-envoy to fail building. As solution, I was told to use either Ubuntu as base OS or Traefik Ingress Controller, which is not configured in K3s.
  • I'm looking for an SSO server/reverse proxy with features I'm not sure exist
    2 projects | /r/selfhosted | 23 Jun 2023
    I know envoy (https://www.envoyproxy.io/, https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/security/jwt_authn_filter) can do this natively, I'm sure you could probably build something with nginx and its Lua scripting, not sure about traefik and caddy but I dont think they support that.
  • Envoy External Authorization with Golang GRPC service
    2 projects | dev.to | 21 Jun 2023
    Envoy is a cloud native opensource proxy server. The Envoy proxy offers a variety of http filters to handle incoming requests.
  • A Comprehensive Guide to API Gateways, Kubernetes Gateways, and Service Meshes
    9 projects | dev.to | 8 Jun 2023
    Istio: By far the most popular service mesh. It is built on top of Envoy proxy, which many service meshes use.

What are some alternatives?

When comparing gvisor and envoy you can also consider the following projects:

firecracker - Secure and fast microVMs for serverless computing.

YARP - A toolkit for developing high-performance HTTP reverse proxy applications.

podman - Podman: A tool for managing OCI containers and pods.

Squid - Squid Web Proxy Cache

wsl-vpnkit - Provides network connectivity to WSL 2 when blocked by VPN

traefik - The Cloud Native Application Proxy

kata-containers - Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

sysbox - An open-source, next-generation "runc" that empowers rootless containers to run workloads such as Systemd, Docker, Kubernetes, just like VMs.

Varnish - The project homepage

containerd - An open and reliable container runtime

Nginx - An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html