Rust details - shuwens/NetBricks GitHub Wiki

Threading

Related to threading in Rust and core affinity

https://www.reddit.com/r/rust/comments/7itr5c/how_to_offload_postget_requests_to_another_thread/

https://www.reddit.com/r/playrust/comments/993apd/will_rust_support_multi_threading_with/

https://www.reddit.com/r/rust/comments/3wxtu8/how_to_use_correctly_the_cores_in_rust/

https://en.wikipedia.org/wiki/Processor_affinity

https://nitschinger.at/Binding-Threads-And-Processes-to-CPUs-in-Rust/

https://chilimatic.hashnode.dev/threads-in-rust-cjwmbxw9e003pzjs19n7pa0bt

https://hacks.mozilla.org/2019/02/fearless-security-thread-safety/

io uring

asyncy, tokio, async-std, smoll --- they all use epoll to interact with the OS so it will hit the OS a lot (syscalls) with overhead.

use io uring to improve it in terms of not to cross the kernel boundary

https://users.rust-lang.org/t/towards-a-more-perfect-rustio/18570

zero copy io and kernel bypassing

https://stackoverflow.com/questions/18343365/zero-copy-networking-vs-kernel-bypass

Async IO

Rust async IO book

https://levelup.gitconnected.com/explained-how-does-async-work-in-rust-c406f411b2e2

https://docs.rs/tokio-threadpool/0.1.11/tokio_threadpool/

https://docs.rs/futures-preview/0.3.0-alpha.19/futures/executor/index.html

https://docs.rs/async-task/1.2.1/async_task/

related blogs

Zero-cost futures in Rust

Benchmark of different Async approaches in Rust

Web Framework Benchmarks

smoltcp bench

Penguins' Bryan Rust: Records three shots in return

Asynchronous Rust for fun & profit

Rust and memory alloc

https://www.quora.com/How-does-memory-management-work-in-Rust

https://www.reddit.com/r/rust/comments/30hcff/heap_memory_questions/

https://medium.com/@rabin_gaire/memory-management-rust-cf65c8465570

https://os.phil-opp.com/heap-allocation/

https://docs.rs/heapless/0.5.0/heapless/

Stat crate in Rust

https://doc.rust-lang.org/test/stats/trait.Stats.html

https://docs.rs/GSL/0.4.31/rgsl/statistics/index.html

https://docs.rs/histogram/0.6.9/histogram/

https://docs.rs/streaming-stats/0.2.3/stats/

https://docs.rs/stats-cli/1.0.0/inc_stats/struct.Percentiles.html

https://doc.rust-lang.org/1.1.0/test/stats/trait.Stats.html#tymethod.percentile

https://docs.rs/hdrsample/6.0.4/hdrsample/

https://docs.rs/staccato/0.1.9/staccato/

Docker rust crate

https://github.com/eldesh/dockworker/

https://gitlab.com/kblobr/rust-docker

https://github.com/fussybeaver/bollard

https://github.com/softprops/shiplift

https://github.com/faradayio/boondock