# fastos/fastsocket

Fastsocket is a highly scalable socket and its underlying networking implementation of Linux kernel. With the straight linear scalability, Fastsocket can provide extremely good performance in multicore machines. In addition, it is very easy to use and maintain. As a result, it has been deployed in the production environment of SINA.

Repository: https://github.com/fastos/fastsocket
Canonical: https://ross.abutalabs.com/products/fastsocket
Language: C
License: GPL-2.0
License Family: copyleft
Last push: 2018-04-19T09:27:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4453, "days_push": 3058, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3741, forks 719 (observed 2026-08-28T04:08:15.955751+00:00)

## What it is
Fastsocket is a scalable Linux kernel TCP socket implementation that delivers linear performance scaling on multicore machines, transparent to existing socket applications. It was developed by SINA and deployed in production with HAProxy for HTTP load balancing.

## Use cases
- scale TCP throughput on many-core Linux servers
- improve Nginx and HAProxy connection rates without code changes
- fix Linux kernel networking collapse beyond 12 CPU cores
- boost load balancer performance on 24-core machines
- optimize high-connection-rate web infrastructure

## When to choose
- running CentOS-6.5 / RHEL6 with many cores and high connection churn
- serving as a reverse proxy or load balancer where connection-per-second throughput is the bottleneck
- you need kernel-level TCP scaling without modifying application code

## When to avoid
- running modern kernels where upstream networking has improved scaling
- non-Linux platforms or non-x86 environments
- projects needing active maintenance or recent security updates

## Facets
- artifact type: library
- maturity: maintenance
- function: networking, concurrency
- domain: networking, operating-systems, performance, microservices
- platform: c
- tags: kernel-module, tcp, scalability, multicore, load-balancing, kernel-networking, performance, linux

## Member repositories
- fastos/fastsocket (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:15.955751+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:29:06.862222+00:00, confidence not recorded.
  - readme: https://github.com/fastos/fastsocket (fetched 2026-08-28T04:08:15.955751+00:00, sha 1ed055543e2f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
