frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Blazeio vs. FastAPI vs. Robyn: Benchmarking Reveals 86x Performance Difference

4•anonyxbiz•2h ago
Blazeio is an ultra-fast asynchronous real-time streaming web framework crafted for high-performance backend applications. Built on Python's asyncio, it delivers non-blocking operations, minimal overhead, and lightning-quick request handling.

The Benchmark Setup

Hardware & Testing Environment

· Platform: Google Colab v5e-1 TPU Instance · Testing Tool: wrk with 1 thread, 10-second duration · Connection Loads: 1,000, 3,000, 5,000, and 10,000 concurrent connections · Payload: Identical "Hello world" response with full security headers (HSTS, CSP, X-Frame-Options, etc.)

Framework Configurations

All three frameworks were tested with identical:

· Security headers and policies · Keep-alive connections enabled · Same response payload · Identical testing methodology

The Results: Complete Performance Annihilation

Throughput Massacre Across All Load Levels

Requests Per Second Comparison:

Connections Blazeio Robyn FastAPI Blazeio Advantage 1,000 79,388 RPS 8,685 RPS 4,151 RPS 19.1x vs FastAPI 3,000 57,519 RPS 8,014 RPS 4,387 RPS 13.1x vs FastAPI 5,000 44,782 RPS 7,519 RPS 3,411 RPS 13.1x vs FastAPI 10,000 39,157 RPS 7,186 RPS 3,086 RPS 12.7x vs FastAPI

Transfer Rate Comparison:

Connections Blazeio Robyn FastAPI Blazeio Advantage 1,000 50.88 MB/s 1.05 MB/s 0.59 MB/s 86.2x vs FastAPI 3,000 36.86 MB/s 0.97 MB/s 0.62 MB/s 59.5x vs FastAPI 5,000 28.70 MB/s 0.91 MB/s 0.48 MB/s 59.8x vs FastAPI 10,000 25.09 MB/s 0.87 MB/s 0.43 MB/s 58.4x vs FastAPI

Blazeio's worst-case scenario outperforms everyone else's best-case scenario: · Blazeio at 10,000 connections (39,157 RPS) vs FastAPI at 1,000 connections (4,151 RPS): 9.4x faster · Blazeio at 10,000 connections vs Robyn at 1,000 connections: 4.5x faster

Latency Scaling: The Architectural Divide

Average Latency Under Load:

Connections Blazeio Robyn FastAPI 1,000 29.72ms 113.66ms 135.89ms 3,000 33.54ms 362.94ms 345.99ms 5,000 57.07ms 631.26ms 879.33ms 10,000 93.83ms 1.23s 1.41s

Blazeio's latency increased only 3.2x from 1K to 10K connections, while others increased 10-15x!

Total Request Capacity

Requests Served in 10 Seconds:

Connections Blazeio Robyn FastAPI 1,000 797,765 87,438 41,769 3,000 575,932 80,393 43,896 5,000 449,687 75,821 34,362 10,000 393,401 72,300 31,171

Blazeio served more requests at 10,000 connections than FastAPI served at 1,000 connections.

The Architecture Behind the Numbers

Why Blazeio Achieves Revolutionary Performance

1. Zero-Copy Architecture: Data moves directly from kernel buffers to network without Python-level copying 2. Connection-Level Coroutines: One coroutine handles all requests on a connection, eliminating per-request overhead 3. Protocol-Level Backpressure: Natural flow control prevents buffer bloat and memory exhaustion 4. Minimal Abstraction: Raw socket access with clean abstractions, not framework magic

The 86x transfer rate advantage and consistent sub-100ms latency at 10,000 concurrent connections demonstrate that traditional web framework architectures have been leaving massive performance on the table.

All tests were conducted on identical hardware with identical payloads and security configurations.

Has anyone else achieved similar performance with different architectural approaches? What's your experience scaling Python web applications to 10,000+ concurrent connections?

Comments

westurner•1h ago
TIL about blazeio.

blazeio: https://github.com/anonyxbiz/Blazeio

TechEmpower Framework Benchmarks > Round 23 (2025-02) > Data Updates: https://www.techempower.com/benchmarks/#section=data-r23&tes...

TechEmpower/FrameworkBenchmarks > wiki > Project-Information-Framework-Tests-Overview: https://github.com/TechEmpower/FrameworkBenchmarks/wiki/Proj...

TechEmpower/FrameworkBenchmarks > Python: https://github.com/TechEmpower/FrameworkBenchmarks/tree/mast...

When Groups Get Stuck on the Wrong Problem

https://www.jrwinget.com/blog/2025-10-31_when-groups-get-stuck/
1•mononcqc•1m ago•0 comments

Dan Houser: GTA, Red Dead Redemption, Rockstar, Absurd and Future of Gaming

https://www.youtube.com/watch?v=o3gbXDjNWyI
1•doppp•4m ago•0 comments

The Number Ones: Michael Jackson's "Man in the Mirror"

https://www.stereogum.com/2145029/the-number-ones-michael-jacksons-man-in-the-mirror/columns/the-...
1•handfuloflight•4m ago•0 comments

Designing Remote Work at Linear

https://linear.app/now/designing-remote-work-at-linear
1•doppp•11m ago•0 comments

The Profitable Startup

https://linear.app/now/the-profitable-startup
1•doppp•12m ago•0 comments

LLMs Report Subjective Experience Under Self-Referential Processing

https://arxiv.org/abs/2510.24797
1•j_crick•13m ago•1 comments

Nonlinear dynamics of multi-omics profiles during human aging

https://www.nature.com/articles/s43587-024-00692-2
1•walterbell•14m ago•0 comments

ChatGPT uses YOLOv8 to detect UI elements

https://twitter.com/sudeeppillai/status/1984454005314240934
1•fzysingularity•17m ago•0 comments

Call Center Tunaiku

1•jokodidi•17m ago•0 comments

A portable picokernel for async I/O

https://ryansepassi.com/notes/picokernel
1•mikenew•18m ago•0 comments

Why Everyone Gets the F1 Inerter Wrong [video]

https://www.youtube.com/watch?v=4FOjKXdqFZA
1•CharlesW•18m ago•0 comments

Claude Code will ship as a native executable (no Node.js required)

https://www.threads.com/@boris_cherny/post/DQfE5QyEmrQ
2•sorcercode•24m ago•0 comments

Fragmented medical records delayed treatment for months

1•topavocadown•30m ago•0 comments

Possible Enhanced Meteor Impact Risk in 2032 and 2036 from Taurid Asteroids

https://www.sciencedirect.com/science/article/pii/S0094576525006460
1•jandrewrogers•36m ago•0 comments

Jerusalem Syndrome

https://en.wikipedia.org/wiki/Jerusalem_syndrome
1•thunderbong•44m ago•1 comments

Show HN: ZigNet: How I Built an MCP Server for Zig in 1.5 Days

https://fulgidus.github.io/posts/zignet/
1•Fulgidus•48m ago•0 comments

Show HN: Anime Eternal – Your Hub for Roblox's Anime-Themed Gaming Guides

https://animeeternal.net/
1•linkshu•52m ago•0 comments

A React-based Ratings and Reviews SaaS with customizable forms and dashboard

https://www.rovza.shop
1•arvymo•56m ago•1 comments

Turning Desert Fog into Fresh Water Using 50k Volts [video]

https://www.youtube.com/watch?v=-wa2JEYl9jU
1•slicktux•56m ago•0 comments

Why Mark Zuckerberg Is So Good at Bad Products – Merivya

https://merivya.com/2025/11/01/why-mark-zuckerberg-is-so-good-at-bad-products/
2•jainilprajapati•1h ago•0 comments

A.I. Is Making Death Threats More Realistic

https://www.nytimes.com/2025/10/31/business/media/artificial-intelligence-death-threats.html
1•mitchbob•1h ago•0 comments

NASA's Orion Space Capsule Is Flaming Garbage

https://caseyhandmer.wordpress.com/2025/10/31/nasas-orion-space-capsule-is-flaming-garbage/
2•wmf•1h ago•0 comments

Stochastic Computing

https://scottlocklin.wordpress.com/
1•d_silin•1h ago•2 comments

Developers in C-Level Meetings

https://radekmie.dev/blog/on-developers-in-c-level-meetings/
1•keyle•1h ago•0 comments

Would you let AI negotiate deals on your behalf?

1•moseg•1h ago•0 comments

Show HN: JustAButton – One button. One chance. Forever

https://www.justabutton.org/
2•nadermx•1h ago•0 comments

Want to Know What Tesla Is Doing with Cybertrucks? SpaceX Has 'Em All

https://www.autoblog.com/news/want-to-know-what-tesla-is-doing-with-cybertrucks-that-dont-sell-sp...
1•TheAlchemist•1h ago•0 comments

Nanotyrannus confirmed as a new species, not juvenile T-Rex

https://www.nature.com/articles/s41586-025-09801-6
2•kretaceous•1h ago•0 comments

The $150B Bitcoin Treasury Boom Shakeout

https://www.forbes.com/sites/ninabambysheva/2025/10/13/inside-the-150-billion-bitcoin-treasury-bo...
3•walterbell•1h ago•0 comments

PewDiePie using self-hosted AI

https://www.youtube.com/watch?v=qw4fDU18RcU
3•deevus•1h ago•2 comments