I’ve seen a test where fastify outperformed express by 27% in 10 trials, which made me wonder if I can run parse server with fastify. Though this appears not to be possible, since parse server was designed for express. However theres fastify/express middleware that allows using express methods with fastify, which can theoretically make fastify compatible with parse server but im wondering if using middleware would negate performance superiority of fastify? How do you think?
It’s hard to say. The only way would be testing. Maybe getting some inspiration here: GitHub - parse-community/benchmark: Parse Server Continuous Benchmark
I think the fastify express middleware is meant to be used temporarily whilst the project transitions to fastify entirely. Although fastify is faster than express, express has the benefit of being widely used/supporting lots of 3rd party middlewares