Skip to content

Fluxwright v0.14.0

Choose a tag to compare

@harshit-d3v harshit-d3v released this 26 Nov 13:50
· 36 commits to main since this release
3c364be

Fluxwright v0.14.0

3-Tier Hybrid Execution Engine

  • Tier 1 pure-Rust HTTP fast path (POST /v1/scrape & POST /v1/map): DNS-pinned, SSRF-safe HTTP/1.1 + HTTPS fetcher (rustls + ring) and html5ever HTML-to-Markdown / link / include_sitemap extractor. mode defaults to "auto" (accepting "auto", "http", or "browser"), reports engine: "http" | "browser" and fallback_reason, defaults resource_preset to "scraping" on non-visual scrape/map calls, and exposes fluxwright_fastpath_hits_total and fluxwright_fastpath_fallbacks_total on Prometheus /metrics.
  • Tier 2 opt-in external light-CDP hook (--fast-cdp-endpoint): Connects non-visual escalated scrapes/maps to an external lightweight CDP server (such as Moli, Obscura, or Lightpanda) with graceful -32601 Method Not Found capability fallback and zero AGPL entanglement.
  • Tier 3 low-memory Chromium options: Opt-in --low-memory launch flags and --recycle-rss-mb RSS recycling threshold across CLI, server, and Rust LaunchOptions::low_memory / EngineBuilder::low_memory.

Verified CI Benchmarks (Run 45825257140, ubuntu-latest, chrome-headless-shell 158.0.8127.88)

  • Tier 1 HTTP fast path (benchmarks/fastpath-bench.mjs, 30 reqs x 8 concurrency, 0 failures across 14 scenarios):
    • scrape-static-auto: 518.8 req/s, 13.9 ms p50, 13 MB server RSS (vs 28.9 req/s, 269.7 ms p50, 384 MB RSS in browser scraping mode)
    • map-static-auto: 1,140.7 req/s, 6.7 ms p50, 14 MB server RSS
    • scrape-mixed-auto (80% static / 20% SPA): 130.2 req/s (24 HTTP / 6 browser auto-escalation)
  • 5-minute soak & fleet chaos:
    • soak-5m: 7,898 jobs in 300s (26.3 jobs/s, 43 ms p95), 0.0% failures, 0 leaked Chrome processes, flat RSS after recycling (505 -> 517 -> 443 -> 442 MB)
    • Fleet & chaos: Beat Playwright & Puppeteer in all 8/8 scenarios (66.1 vs 36.3 jobs/s at -36.3% peak RAM on 10-concurrent-browsers; 48.6 jobs/s with 0.0% failures across 9 browser kills in chaos-1000-queued vs 71.3% / 67.7% failures)

Install (All 5 Channels)

  • Rust (crates.io, first release across all 6 workspace crates): cargo add fluxwright@0.14.0 (plus fluxwright-cdp, fluxwright-core, fluxwright-server, fluxwright-cli, fluxwright-mcp)
  • Node/TS: npm install fluxwright@0.14.0
  • Python: pip install fluxwright==0.14.0
  • Docker (multi-arch linux/amd64 + linux/arm64): docker pull ghcr.io/harshit-d3v/fluxwright:0.14.0
  • Prebuilt CLI & MCP binaries (7 targets): Download archives from the Assets below (x86_64/aarch64 Linux gnu, x86_64 Linux musl, macOS Apple silicon & Intel, x86_64/aarch64 Windows).