Goroutines Under the Hood

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

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

    The Go programming language

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

  • >I would assume any modern processor would make a context switch a one instruction affair.

    Has been the historic assumption, has been proven to be wrong by every possible benchmark.

    Consider tech empower[0] for raw stack performance , runtime level threads outperform IO threads since OS thread were designed to be mapped on physicals cores.

    This is very expensive and inefficient.

    Creating one thread for every request you have ( Apache + PHP ) will exhaust the hardware after a few thousands/qps target.

    Runtime can indeed have millions of those “lightweight threads” without killing your machine since they create a pool from physical threads and tap into IO events to efficiently switch or resume contexts. This is by far much faster.

    [0] https://www.techempower.com/benchmarks/#section=data-r20&hw=...

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