The post discusses how the author made Express faster than Fastify using typia's faster JSON stringify function. It explains the secret of Fastify's speed, the use of fast-json-stringify, and how typia can be used to imitate Fastify in Express. It also suggests using typia to boost the speed of NestJS servers and highlights the slowness of class-validator and class-transformer libraries. The post concludes by stating that while Fastify is still faster in certain scenarios, the combination of Express and typia can surpass Fastify's speed in some cases.

5m read timeFrom dev.to
Post cover image
Table of contents
OutlineWhat typia isSecret of fastifyImitate secret of fastify in expressBoost up your NestJS server speedfastify is still fastLinks
12 Comments

Sort: