We Improved the Performance of a Userspace TCP Stack in Go by 5X

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. gvisor

    Application Kernel for Containers

    If you want to use netstack without Bazel, just use the go branch:

    https://github.com/google/gvisor/tree/go

    go get gvisor.dev/gvisor/pkg/tcpip@go

    The go branch is auto generated with all of the generated code checked in.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. nsh

    The Noisy Sockets CLI (by noisysockets)

    Really cool to see others hacking on netstack, bit of a shame it's tied up in the gVisor monorepo (and all the Bazel idiosyncracies) but it's a very neat piece of kit.

    I've actually been hacking on something similar lately, with a focus on building what I'm calling a layer 3 service mesh for the edge. More or less came out of my learned hatred for managing mTLS at scale and my dislike for shoving everything through a L7 proxy (and you still have the issue of authenticating you are actually talking to the proxy you expect).

    Last week I got the first release of my userspace router shipped, worth taking a look if you want to play around with a WireGuard compatible VPN server that doesn't need elevated permissions, https://github.com/noisysockets/nsh/blob/main/docs/router.md

  4. computerraria

    A fully compliant RISC-V computer made inside the game Terraria

    In the issue of abysmal performance on cloud-compute/PaaS Im talking about the container runtime.

    But given this article is about improving gvisors userland tcp performance significantly, it seems like the netstack stuff causes major performance losses too.

    I saw a github link in another top article today https://github.com/misprit7/computerraria where the Readme's Pitch section feels very relevant to this.

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