# jonashaag/bjoern

A screamingly fast Python 2/3 WSGI server written in C.

Repository: https://github.com/jonashaag/bjoern
Canonical: https://ross.abutalabs.com/products/bjoern
Language: C
License: NOASSERTION
License Family: other
Last push: 2024-08-09T21:35:30+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 6029, "days_push": 754, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3041, forks 188 (observed 2026-08-28T04:07:39.293661+00:00)

## What it is
bjoern is an ultra-lightweight, high-performance WSGI HTTP/1.1 server for CPython 2 and 3, written in ~1000 lines of C on top of libev and http-parser. It serves Python web applications (e.g., Flask, Django) with a tiny ~600KB memory footprint and keep-alive support.

## Use cases
- serve a flask app in production
- fast wsgi server for python
- lightweight python http server with low memory footprint
- replace gunicorn with a faster wsgi server
- bind python web app to unix socket
- run django behind nginx with a minimal wsgi server

## When to choose
- you need a minimal, extremely fast WSGI server for CPython
- memory footprint matters (e.g., containers, small VPS)
- you serve a Python app behind a reverse proxy like nginx
- you want keep-alive and chunked HTTP/1.1 support without heavy dependencies

## When to avoid
- you need async/ASGI support for WebSockets or long-lived connections
- you need multi-threading, worker processes, or built-in process management
- you need extensive features like TLS termination, static files, or admin tooling
- you want a batteries-included server like gunicorn or uwsgi

## Facets
- artifact type: library
- maturity: active
- function: http-server, web-framework
- domain: web-development, backend, performance
- platform: python, cross-platform
- tags: wsgi, asgi-alternative, libev, http-parser, production-server, keep-alive, unix-sockets, linux, macos

## Member repositories
- jonashaag/bjoern (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:39.293661+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-30T07:29:14.828281+00:00, confidence not recorded.
  - readme: https://github.com/jonashaag/bjoern (fetched 2026-08-28T04:07:39.293661+00:00, sha b050d0aff843)
- Data as of 2026-08-30T08:39:29.467469+00:00.
