Node.js REST Frameworks Benchmarks – reloaded (09/08/2019)

The JavaScript and Node.js Blog

I just got the new MacBook Pro 2019 and damm, it is a crazy fast laptop. Thanks to ShareNow Tech for offering such a tools to employees…

A detailed performance review for the Macbook Pro can be found here: https://www.laptopmag.com/reviews/laptops/2019-macbook-pro-15-inch)

Second thing after celebrating and setting the Node.js development environment up, was to measure the I/O performance of the following REST frameworks on their last stable version:

  • Vanilla Node.js
  • Koa
  • Express
  • Fastify
  • 0http (with uWebSockets.js)
  • Restana
  • Polka

NOTE: Network throughput is not the only factor that matter while selecting a backend framework, if you don’t care about low level performance optimisations, is just fine!

Out of the Box tests, single threaded “Hello World” HTTP services

In this tests the services are running using a single process, the Node.js cluster mode is not used for the HTTP Servers.

The tests sources can be found in the restana github repository:

View original post 389 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s