REST API: Node vs Rust

Sean Wragg
Feb 7, 2017 · 4 min read

Rust (via Rocket)

rustc 1.17.0-nightly (ea7a6486a 2017-02-04)  
cargo-0.18.0-nightly (d710222 2017-02-04)

Node (via Restify)

node v6.9.5
npm 3.10.30

Developer Environment

Route Interface

Memory Consumption

Running Rust (Rocket), idle @ < 1MB
Running Node (restify), idle @ 19MB

Requests per Second

wrk -d1m http://localhost:8080/

wrk Benchmark Raw Results

Original AB Benchmark Raw Results


Code, Comics, and Fhqwhgads!

Sean Wragg

Written by

Writing about code, comics, and fhqwhgads!



Code, Comics, and Fhqwhgads!