What is Fastify?

Fastify is a web framework highly focused on speed and low overhead. It is inspired from Hapi and Express and as far as we know, it is one of the fastest web frameworks in town. Use Fastify can increase your throughput up to 100%.
Fastify is a tool in the Microframeworks (Backend) category of a tech stack.
Fastify is an open source tool with 11.6K GitHub stars and 728 GitHub forks. Here’s a link to Fastify's open source repository on GitHub

Who uses Fastify?

9 companies reportedly use Fastify in their tech stacks, including OTOBANK Inc., mix:analog, and DTE Dashboard.

26 developers on StackShare have stated that they use Fastify.

Fastify Integrations

Why developers like Fastify?

Here’s a list of reasons why companies and developers use Fastify
Fastify Reviews

Here are some stack decisions, common use cases and reviews by companies and developers who chose Fastify in their tech stack.

Paul Whittemore
Paul Whittemore
Owner and Developer at Appurist Software · | 14 upvotes · 20.2K views
Quasar Framework

I'm building most projects using: Server: either Fastify (all projects going forward) or ExpressJS on Node.js (existing, previously) on the server side, and Client app: either Vuetify (currently) or Quasar Framework (going forward) on Vue.js with vuex on Electron for the UI to deliver both web-based and desktop applications for multiple platforms.

The direct support for Android and iOS in Quasar Framework will make it my go-to client UI platform for any new client-side or web work. On the server, I'll probably use Fastly for all my server work, unless I get into Go more in the future.

See more
Paul Whittemore
Paul Whittemore
Owner and Developer at Appurist Software · | 1 upvotes · 1.6K views

Will base most server-side APIs on Fastify . Smaller, faster, easier. Faster than Koa; and twice as fast as ExpressJS.

See more
Saikat Chakrabortty
Saikat Chakrabortty
Software Engineer · | 1 upvotes · 257 views

I use Fastify because , its better and faster than express and few other popular node.js frameworks. its has an awesome concept of decorators.

See more

Fastify's Features

  • 100% asynchronous: all the core is implemented with asynchronous code, in this way not even a millisecond is wasted.
  • Highly performant: as far as we know, Fastify is one of the fastest web frameworks in town, depending on the code complexity we can serve up to 20000 request per second.
  • Extendible: Fastify is fully extensible via its hooks, plugins and decorators.
  • Schema based: even if it is not mandatory we recommend to use JSON Schema to validate your routes and serialize your outputs, internally Fastify compiles the schema in an highly performant function.
  • Logging: logs are extremely important but are costly
  • we chose the best logger to almost remove this cost, Pino!
  • Developer friendly: the framework is built to be very expressive and help the developer in his daily use, without sacrificing performance and security.

Fastify Alternatives & Comparisons

What are some alternatives to Fastify?
A Node.js web service framework optimized for building semantically correct RESTful web services ready for production use at scale. it optimizes for introspection and performance.
Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
Flask is intended for getting started very quickly and was developed with best intentions in mind.
Django REST framework
Django REST framework is a powerful and flexible toolkit that makes it easy to build Web APIs.
See all alternatives

Fastify's Stats

Fastify's Followers
43 developers follow Fastify to keep up with related blogs and decisions.
Daniel Hartmann
Rafael Gonzaga
Mohamad Naji
Saikat Chakrabortty
Paul Whittemore
Himansu Sekhar
Ganesh Chavan
Nathan Woltman