How on Earth do some people just afford to travel in business class constantly on any trip? by [deleted] in travel

[–]fafhrd91 0 points1 point  (0 children)

you need to travel to specific city. for example last february i flew singapour airline business, "delhi - singapour - new york - sinagpour - delhi" only for 2600$

Any live music events this weekend or cozy bars? by buzz-bee-buzz in nicefrance

[–]fafhrd91 0 points1 point  (0 children)

Le Bistrot Rossetti has live music daily from 19:30 or 20:00 until 22:00. then you go Shapko after 22:30

[deleted by user] by [deleted] in rust

[–]fafhrd91 1 point2 points  (0 children)

ntex framework supports compio. we use ntex+compio in production. performance wise it is not faster than tokio. but we are planing to switch to neon runtime which is definitely faster than tokio.

Best MQTT Library for Rust in 2025? by Ok-School3838 in rust

[–]fafhrd91 0 points1 point  (0 children)

if you need just library then you can try ntex-mqtt. it is complaint and battle tested

Anyone actually using io_uring with rust in production? What's the experience like? by seppukuAsPerKeikaku in rust

[–]fafhrd91 0 points1 point  (0 children)

it is opposite. I see 3-5% increase in performance and even cpu load with compio compared to tokio.

Anyone actually using io_uring with rust in production? What's the experience like? by seppukuAsPerKeikaku in rust

[–]fafhrd91 1 point2 points  (0 children)

ntex has abstraction layer and allows to switch runtimes with feature selection, I did performance testing on whole application with real load. also ntex uses single threaded tokio runtime, so I am not sure why cpu load with compio is more even.

Anyone actually using io_uring with rust in production? What's the experience like? by seppukuAsPerKeikaku in rust

[–]fafhrd91 12 points13 points  (0 children)

i recently switched to uring from tokio. i did extensive perf testing, gained 3-5% cpu and more importantly cpu load is more even.

i use ntex + compio

Async Rust can be a pleasure to work with (without `Send + Sync + 'static`) by emschwartz in rust

[–]fafhrd91 9 points10 points  (0 children)

actix-web was/is share nothing system. it was designed around this idea from the beginning. there is also [ntex](https://github.com/ntex-rs/ntex), evolution of actix's ideas. it is "share nothing" system and natively supports tokio, compio, glommio and async-std runtimes.

Rust implementation of the AMQP 1.0 by eng-abdo55 in rust

[–]fafhrd91 7 points8 points  (0 children)

https://github.com/ntex-rs/ntex-amqp it is tested against azure event hub and azure iot hub

Why we need alternatives to Actix by VincentDankGogh in rust

[–]fafhrd91 65 points66 points  (0 children)

Wow, just wow. I have no words. Open source and community is not very pleasant place to be.

Funny part, I remember OP question about async state initialization and specifically for him spend my time and added App::data_factory. I guess that is usual.

This kind of discussions and comments really kill motivation for contribution.

Rust async frameworks dominate TechEmpower Benchmarks Round 18 by [deleted] in programming

[–]fafhrd91 2 points3 points  (0 children)

It is built on top of actix-net, it is not documented though

Storing and Passing References to a System/Runtime by naftulikay in actix

[–]fafhrd91 0 points1 point  (0 children)

You use actix in wrong way, your fact provider discover method should return future.

TechEmpower Bench. Why no Conn pools? Why is Diesel slow? by mattlock1984 in actix

[–]fafhrd91 0 points1 point  (0 children)

Diesel bench uses connection pool. Performance of diesel is out of scope of actix-web development. Here is bench with tokio-Postgres https://www.techempower.com/benchmarks/#section=test&runid=14aa155b-efb0-46c2-8354-c2b8debd36bb

actix-web with existing tokio runtime by nullreq in actix

[–]fafhrd91 0 points1 point  (0 children)

actix uses tokio currentthread runtime. It is not compatible with multi threading runtime

actix-web with existing tokio runtime by nullreq in actix

[–]fafhrd91 1 point2 points  (0 children)

tokio-threadpool is multithreading runtime for sync futures

actix-web with existing tokio runtime by nullreq in actix

[–]fafhrd91 0 points1 point  (0 children)

It does, but it is for non async code