5 reasons to host your images on Cloudinary

Image and video management is almost present in our projects. I would like to share my experience around this problem.

Http auth basic in Node js and Express

Let's build a small site in Node.js using Express that will have one protected page Http auth basic prompt dialog We are going to use express generator to generate some scaffolding. If you didn't install it just type this command to install it globally but if you already know all this stuff you might skip … Continue reading Http auth basic in Node js and Express

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