DEV Community

Cover image for Meet Express.js on Steroids: Fastify's Rise
OpenSource
OpenSource

Posted on • Edited on

Meet Express.js on Steroids: Fastify's Rise

GitHub Repo: https://github.com/webcrumbs-community/webcrumbs

I was recently recommended trying Fastify instead of Express.js. Being a little suspicious at first, I went to read about it.

Turns out this newer library outshines Express with its superior performance and flexibility.

Here's a snapshot of their benchmark showdown:

Framework Requests/Sec 99th Percentile Latency Total Requests
Express.js 20,000 1 ms 221,000
Fastify 50,000 <1 ms --
Express + MongoDB 6,500 3 ms 70,000
Fastify + MongoDB 8,800 2 ms 86,000

Source: A Showdown Between Express.js and Fastify Web App Frameworks

Fastify's advanced performance is attributed to its efficient architecture and the fast-json-stringify library.

We want to use Fastify with WebCrumbs!

Would you give it a try?


Support us! πŸ™β­οΈ

By the way, I'm part of the WebCrumbs team, and it would mean a lot if you could check out our no-code solution for Node.js that simplifies web development. Giving us a star would be fantastic.

We're putting in a ton of effort to help devs take their ideas to a live website as quickly and easily as possible (think: effortless plugin and theme integration), and every bit of support is truly appreciated!

⭐️ Give WebCrumbs a Star! ⭐️

Top comments (2)

Collapse
 
webverts profile image
webVerts

Seems nice. Does it have support for CORS, limit, slowdown etc.

Collapse
 
opensourcee profile image
OpenSource • Edited

It does by plugins