High Performance HTTP/TCP Thoughts

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

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

    Source for the TechEmpower Framework Benchmarks project

  • Apart from those, there's all sorts of rankings at https://www.techempower.com/benchmarks to ogle at, but these are potentially gamed benchmarks, and they may not map to your specific situation (especially: making sure your code isn't the bottleneck). Maybe swapping around the HTTP handling code will net a benefit, but, depending on how much real work the application is doing, maybe it's just not going to save a lot. E.g.: if a typical request takes 4ms to put together due to a couple microservice calls, and you're spending 500 microseconds of that in stdlib HTTP: how much better are things if you somehow magically get a 10x faster HTTP implementation?

  • quic-go

    A QUIC implementation in pure Go

  • Google's solution to this is QUIC. There's a few implementations in Go (e.g.).

  • 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.

    InfluxDB logo
  • zerocopy

    Zero-copy I/O primitives and pipelines for Go. Linux-specific. (by acln0)

  • https://github.com/acln0/zerocopy perhaps this can speed things up further by removing some memory allocs in go itself ?

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