Hacker GitHub

← All repos

pretzelhammer/using-rust-in-non-rust-servers

View on GitHub ↗ ★ 17 Rust

3 mentions on Hacker News by 2 people: 0 stories, 3 comments · first 2024-10-28 · latest 2024-10-28

Mentions per year 3 mentions · busiest year 2024 (3)
20082026
  1. As the article mentions, the test server had 12 cores. The Node.js server ran in "cluster mode" so that all 12 cores were utilized during benchmarking. You can see the implementation here (just ~20 lines of JS):…
  2. Here's the list of my benchmark targets: https://github.com/pretzelhammer/using-rust-in-non-rust-serv... Vegeta, the tool I used for benchmarking, iterates through all those targets round-robin style while attacking the server and then…
  3. I believe the difference is that the JS version specifies compression strategy 3 (Z_RLE)[0][1], whereas the Rust crate is using the default compression strategy[2]. Both otherwise use the same underlying compression library (deflate aka…