News for hackers. Stuff that matters.
Re:Actix Web: a small, pragmatic, and fast Rust web framework by candrewlee14 on Sunday January 01, 2023 @11:43PM (#34214457)
Thanks for the clarification, totally missed that. Makes much more sense. I’m with you on the concurrency model. What was the reasoning for a runtime per core?
Re:Actix Web: a small, pragmatic, and fast Rust web framework by Nullabillity on Monday January 02, 2023 @11:59AM (#34220241)
Task migrations are (relatively) expensive, and runtime-per-core lets you write request handlers that aren't Send+Sync. It's the kind of thing that looks good in benchmarks.

I wouldn't want to rely on it, because you can't rebalance uneven loads between cores, and a single blocking task would block all requests assigned to that core.

Re:Actix Web: a small, pragmatic, and fast Rust web framework by satvikpendem on Saturday January 07, 2023 @01:23PM (#34290920)
In practice though I haven't seen much of a difference. Actix and Axum are basically the same.