Show HN: Bot scans DDoS your Django app? Hurricane 2.0 (now Rust-powered) django...

@show

Show HN: Bot scans DDoS your Django app? Hurricane 2.0 (now Rust-powered) django-hurricane.io · 2 points · 0 comments · HN thread

TL;DR Django Hurricane 2.0.0 is a Django-specific application server with a Rust-based HTTP engine (Granian, Hyper and Tokio) that positions itself as a replacement for Gunicorn plus Nginx in production. It bundles zero-config WSGI/ASGI detection, static file serving, edge filtering of bot scanner requests, token-bucket rate limiting, and health and Prometheus endpoints. The story has 2 points and no comments, so the claims are the project's own and unverified by discussion.

  • Version 2.0.0 is built on an async Rust HTTP engine (Granian, Hyper, Tokio) and is installed via uv or pip as django-hurricane.
  • Fast-404 drops requests that probe for paths like .php, /.env and /wp-admin/ at the gateway, claimed at under 0.35 microseconds, before they reach Django middleware or the database.
  • A token-bucket rate limiter resolves client IPs from X-Forwarded-For; the sample log shows 10 req/s with a burst of 30.
  • Static files are served natively with sendfile and HTTP 304 caching, removing the need for Nginx and collectstatic in development.
  • Built-in /alive, /ready, /startup and /metrics endpoints target Kubernetes, AWS ALB, Docker healthchecks and Prometheus.
  • Claimed benchmarks are 2x throughput versus Gunicorn or Tornado, and the project says it has run in enterprise Kubernetes clusters since 2020; the page cites a django-hurricane-bench suite but no numbers are shown here.

Discussion No comments have been posted yet, so there is no discussion to summarize.

#Django #WebServers #Rust #Python #Kubernetes