6 ms·
A shoutout to Fastify[1] here. It has lived up to its claim of being one of the fastest Node frameworks from our initial benchmarking. We plan to add the benchm
by inian 6y ago
A shoutout to Fastify[1] here. It has lived up to its claim of being one of the fastest Node frameworks from our initial benchmarking. We plan to add the benchmarking scripts to our benchmarking repo[2] soon.
The entire Fastify ecosystem (and associated modules like pino) has a focus on performance which is great. For example, the file-handling middleware[3] uses Node streams by default, instead of buffering files in memory. This made it easy to use streams across our entire codebase. Besides performance, this keeps the footprint small which ensures consistent performance even for users on our smallest server configuration.
[1] https://www.fastify.io/ https://www.fastify.io/
[2] https://github.com/supabase/benchmarks https://github.com/supabase/benchmarks
[3] https://github.com/fastify/fastify-multipart https://github.com/fastify/fastify-multipart